| 15 Apr 2022 |
@ulrikstrid:matrix.org | Now the question is... why can't I downgrade my server? 😂 | 20:40:19 |
Artturin | i don't know, i can't see your screen | 20:43:53 |
Artturin | thse are the nix versions available ``` nix-repl> nixVersions. nixVersions.unfix nixVersions.override nixVersions.extend nixVersions.overrideDerivation nixVersions.nix_2_3 nixVersions.recurseForDerivations nixVersions.nix_2_4 nixVersions.stable nixVersions.nix_2_5 nixVersions.unstable nixVersions.nix_2_6 nixVersions.nix_2_7
| 20:44:25 |
@ulrikstrid:matrix.org | Yeah, sorry, probably more of a rethorical question... I have this:
nix = {
package = pkgs.nix;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
| 20:44:34 |
Artturin | * thse are the nix versions available
nix-repl> nixVersions.
nixVersions.**unfix** nixVersions.override
nixVersions.extend nixVersions.overrideDerivation
nixVersions.nix\_2\_3 nixVersions.recurseForDerivations
nixVersions.nix\_2\_4 nixVersions.stable
nixVersions.nix\_2\_5 nixVersions.unstable
nixVersions.nix\_2\_6
nixVersions.nix\_2\_7
| 20:44:39 |
@ulrikstrid:matrix.org | And I apply it via my flake (which works for everything else) with a switch | 20:44:52 |
@ulrikstrid:matrix.org | But when I ssh in to the server and run nix --version it still tells me 2.8.... | 20:45:15 |
Artturin | pkgs.nix is 2.7.0 | 20:45:34 |
Artturin | on unstable at least | 20:46:02 |
@ulrikstrid:matrix.org | I'm on unstable. but it should still be 2.7.0 | 20:46:04 |
Artturin | forgot you we're trying to go back from 2.8 | 20:46:37 |
Artturin | * forgot you were trying to go back from 2.8 | 20:46:42 |
Artturin | restart the nix daemon | 20:46:49 |
Artturin | sudo systemctl restart nix-daemon.service | 20:47:01 |
@ulrikstrid:matrix.org | Trying a full reboot | 20:48:52 |
@ulrikstrid:matrix.org | Not even that helped | 20:49:38 |
Artturin | Ulrik Strid: nix doctor | 20:56:13 |
Artturin | * Ulrik Strid: nix doctor -vvvv | 20:56:17 |
@ulrikstrid:matrix.org | In reply to @artturin:matrix.org Ulrik Strid: nix doctor -vvvv It seems to be pretty happy:
inst store uri: local
[PASS] PATH contains only one nix version.
[PASS] All profiles are gcroots.
[PASS] Client protocol matches store protocol.
| 21:01:13 |
@ulrikstrid:matrix.org | But I still get
nix --version
nix (Nix) 2.8.0pre20220405_5fe4fe8
| 21:01:34 |
@ulrikstrid:matrix.org | My guess is that I have some strange error in my script, but I have to go to bed now so I'll have to figure this out tomorrow | 21:02:02 |
@ulrikstrid:matrix.org | Thanks for the help! :) | 21:02:07 |
| 16 Apr 2022 |
@ulrikstrid:matrix.org | Artturin: I figured out why I was getting nix 2.8.0pre..., it's because hydra points to master nix when I'm using it as a flake | 05:49:34 |
@ulrikstrid:matrix.org | Anyone knows of a good git revision that works with 2.7.0? Or is hydra fixed in unstable nixpkgs now? | 14:44:44 |
@ulrikstrid:matrix.org | I guess we're waiting for https://github.com/NixOS/nixpkgs/pull/160202 ? What are the blockers here? Can I help it move forward? | 15:01:14 |
@ulrikstrid:matrix.org | Cc Linux Hackerman | 15:03:29 |
@ulrikstrid:matrix.org | In reply to @artturin:matrix.org thats usually caused by mismatched nix versions Okay, I'm at my wits end, on my m1 I now have this nix version:
$ nix store ping
Store URL: daemon
Version: 2.8.0pre20220411_f7276bc
$ nix --version
nix (Nix) 2.8.0pre20220411_f7276bc
And on the server I have this version:
$ nix --version
nix (Nix) 2.8.0pre20220415_b135de2
Which is hopefully close enough? But I still get error: unexpected end-of-file and I have no idea how to get more output from the hydra calls.
| 20:40:11 |
ckie (they/them) | Ulrik Strid: check the commits between those two? | 22:01:21 |
| 17 Apr 2022 |
@ulrikstrid:matrix.org | I don't see anything immediately that would break https://github.com/NixOS/nix/compare/f7276bc...b135de2
I guess I can try to run remote builds outside of hydra to see if I get more infra | 05:30:52 |
@ulrikstrid:matrix.org | Building outside of hydra gives me this: > error: you are not privileged to build input-addressed derivations which I assume means the user on the mac needs more privileges | 05:40:14 |