!UUqahLbShAYkkrXmKs:matrix.org

DevOS

37 Members
Seeking help and geeking out together on https://github.com/divnix/devos & https://github.com/divnix/digga10 Servers

Load older messages


SenderMessageTime
20 Sep 2021
@zrsk:matrix.org@zrsk:matrix.org My host's Nix version is the latest in the unstable-channel 12:29:38
@blaggacao:matrix.orgDavid Arnold (blaggacao) The host's nix --version? 12:29:49
@blaggacao:matrix.orgDavid Arnold (blaggacao)Yeah that might not have it, yet.12:29:58
@blaggacao:matrix.orgDavid Arnold (blaggacao)* Yeah that might not have the fix, yet.12:30:10
@zrsk:matrix.org@zrsk:matrix.org
In reply to @blaggacao:matrix.org
The host's nix --version?
nix (Nix) 2.4pre20210908_3c56f62
12:30:11
@blaggacao:matrix.orgDavid Arnold (blaggacao)Hm, that looks as if it would have https://github.com/NixOS/nix/pull/464112:32:50
@blaggacao:matrix.orgDavid Arnold (blaggacao) Maybe a good idea: comment those "anti-corruption" lines. 12:33:40
@blaggacao:matrix.orgDavid Arnold (blaggacao)(all of them)12:33:56
@zrsk:matrix.org@zrsk:matrix.org
In reply to @blaggacao:matrix.org
Maybe a good idea: comment those "anti-corruption" lines.
Same problem.
However when I change them is it sufficient to run again bud or should I exit the dev shell before?
12:37:48
@blaggacao:matrix.orgDavid Arnold (blaggacao) If you can exit, run nix flake update & reenter, that would be interesting to see if it works. (For me) 12:38:44
@zrsk:matrix.org@zrsk:matrix.orgNothing to do12:41:18
@zrsk:matrix.org@zrsk:matrix.org I also tried to delete the flake.lock and make nix flake update recreate it 12:41:42
@zrsk:matrix.org@zrsk:matrix.org Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now I 12:48:48
@zrsk:matrix.org@zrsk:matrix.org * Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now it works as in the devos repository with `bud.follows. 12:50:24
@zrsk:matrix.org@zrsk:matrix.org * Problem solved, I was running just bud rebuild or bud rebuild test without the hostname. Now it works as in the devos repository with bud.follows. 12:50:30
@zrsk:matrix.org@zrsk:matrix.orgIt was a stupid problem but at least I better understood how DevOS and bud work together. Thank you for the support, probably I'll write here again in the next days.12:51:47
@teutat3s:pub.solar@teutat3s:pub.solar nrdxp: yeah we do use direnv to enter the devshell. How would I check if nix-direnv is properly available? 14:13:33
@teutat3s:pub.solar@teutat3s:pub.solar Ah, our users are not in home = { } within flake.nix yet. So we're probably still missing nix-direnv as it only gets enabled for the user nixos
https://git.b12f.io/pub-solar/os/src/branch/teutat3s/flake.nix#L139-L151
14:19:02
@timdeh:matrix.org@timdeh:matrix.orgyou can import it directly if you want with: https://github.com/nix-community/nix-direnv#direnv-source_url14:19:32
@teutat3s:pub.solar@teutat3s:pub.solarThanks - we'll look into nix-direnv 14:20:02
@cw:kernelpanic.cafe@cw:kernelpanic.cafe changed their display name from Rev. CornWallace III to Rev. CornWallace III (tzu/tzi).15:23:04
@cw:kernelpanic.cafe@cw:kernelpanic.cafe changed their display name from Rev. CornWallace III (tzu/tzi) to Rev. CornWallace III (sun/tzu).15:25:33
21 Sep 2021
@andry_:matrix.organdry_ joined the room.05:21:35
@andry_:matrix.organdry_Greetings.05:22:18
@andry_:matrix.organdry_Who could be questioned at the time of installation NixOs05:23:23
@kraftnix:matrix.org@kraftnix:matrix.org

I am quite confused with how the nur integration works with devos, I cannot seem to update my nur input via nix flake lock --update-input nur, but if I add in nur.url = "github:nix-community/NUR"; then the lockfile is actually updated.

I guess my main question is how is nur actually integrated when it's not defined as an input?

15:04:38
@timdeh:matrix.org@timdeh:matrix.orghmm was it removed at some point? It used to be15:08:06
@timdeh:matrix.org@timdeh:matrix.orgis it a digga input?15:10:10
@kraftnix:matrix.org@kraftnix:matrix.orgI couldn't find it amongst quite a few of the inputs I looked across15:11:55
@kraftnix:matrix.org@kraftnix:matrix.org

well this is interesting, if I remove nur.url input from the flake, then run nix flake lock --recreate-lock-file it updates the path of the nur input from a github url to a store path, but does not remove it from the lock file (I guess since I use/rely on nur or because it is an argument to outputs)

• Updated input 'nur':
    'github:nix-community/NUR/7ad8de0eab7c38e0b84ffa817582223a0293e732' (2021-09-21)
  → 'path:/nix/store/0wad8flznsfv3jr4qggyq65jqminxzpn-source?lastModified=1632235753&narHash=sha256-GTfOKPZ5L+uTQDbm4LhXx3
UfQpOyCJzbf%2f2zOQdZEPM=&rev=7ad8de0eab7c38e0b84ffa817582223a0293e732' (2021-09-21)
15:20:31

Show newer messages


Back to Room ListRoom Version: 6