!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

351 Members
https://github.com/nix-community/NixOS-WSL63 Servers

Load older messages


SenderMessageTime
1 Feb 2023
@k900:0upti.meK900No, but I don't think it's a big stretch to assume that the channel version matches the system 14:12:21
@nzbr:nzbr.deArson Copperflame
In reply to @nzbr:nzbr.de
But that'd only give us the channel version, not what's actually installed. nixos-wsl-version should return the version that's currently running. Can a module that comes from a channel know the channel's git rev?
Then we could just drop the last part of the version number (for the module at least) and put a version file into the repo that we bump after every release
14:12:36
@nzbr:nzbr.deArson Copperflame
In reply to @k900:0upti.me
No, but I don't think it's a big stretch to assume that the channel version matches the system
It is, if the bug that gets reported is related to running nixos-rebuild for example
14:14:03
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
And have a separate stable branch
but none us run stable, right? So that would be a bit shooting into the dark.
14:15:12
@nzbr:nzbr.deArson Copperflamestable as in nixos-stable or as in a release version of nixos-wsl?14:15:55
@sandro:supersandro.deSandro 🐧nixos-stable14:16:50
@k900:0upti.meK900As in nixos-stable, yes14:16:55
@nzbr:nzbr.deArson CopperflameI'm running NixOS 22.11 stable14:17:07
@nzbr:nzbr.deArson Copperflamewith a few select packages from unstable14:17:22
@sandro:supersandro.deSandro 🐧good to know that, I run nixos-unstable with ~60 patches from all over the place14:23:50
@nzbr:nzbr.deArson Copperflame main is supposed to run on the latest stable nixos version (or the one that's referenced in flake.nix to be exact). That's what the tests check against. Ideally it'll run on unstable as well, but I've never tested for that specifically 14:24:52
@nzbr:nzbr.deArson Copperflame nixpkgs seems to add a .version-suffix file to their channel tarballs to give lib access to the commit hash 15:21:47
@nzbr:nzbr.deArson Copperflame We could just do that and push to github pages, no changes to how nixos-wsl-version works required 15:27:19
@nzbr:nzbr.deArson Copperflame * We could just do that and push the tarballs to github pages, no changes to how nixos-wsl-version works required 15:27:30
@sandro:supersandro.deSandro 🐧
In reply to @nzbr:nzbr.de
We could just do that and push the tarballs to github pages, no changes to how nixos-wsl-version works required
we want to push tarballs to releases
15:31:28
@sandro:supersandro.deSandro 🐧putting them in git will only make it slow and the repo big15:31:44
@nzbr:nzbr.deArson Copperflame
In reply to @sandro:supersandro.de
we want to push tarballs to releases
Not the installer tarballs, the channel sources
15:31:52
@sandro:supersandro.deSandro 🐧
In reply to @nzbr:nzbr.de
main is supposed to run on the latest stable nixos version (or the one that's referenced in flake.nix to be exact). That's what the tests check against. Ideally it'll run on unstable as well, but I've never tested for that specifically
I don't know, everything I do is based on unstable..
15:32:17
@nzbr:nzbr.deArson CopperflameAnd from what I understand, the new and improved (tm) github-pages doesn't require pushing to the repo15:32:23
@sandro:supersandro.deSandro 🐧didn't read anything about that yet 15:35:14
@nzbr:nzbr.deArson Copperflamehttps://github.com/marketplace/actions/upload-github-pages-artifact15:35:48
@plutoisnotblue:matrix.org@plutoisnotblue:matrix.org removed their display name plutoisnotblue.23:35:52
@plutoisnotblue:matrix.org@plutoisnotblue:matrix.org left the room.23:36:25
2 Feb 2023
@sandro:supersandro.deSandro 🐧

not contain any symbolic or hard links

Oh no

12:33:11
@k900:0upti.meK900That's fine though12:33:59
@nzbr:nzbr.deArson Copperflame That's fine, because our repo doesn't contain any (I think). The action I linked does --hard-dereference when creating the tarball anyway 12:34:00
@k900:0upti.meK900We can just put a tar file in the tar file12:34:05
@nzbr:nzbr.deArson Copperflame And we'd just upload the sources, not the installer tarball 12:34:24
@k900:0upti.meK900I've merged the Rust path thing12:36:34
@k900:0upti.meK900After testing it on like five machines12:36:41

Show newer messages


Back to Room ListRoom Version: 9