!zghijEASpYQWYFzriI:nixos.org

Hydra

391 Members
109 Servers

Load older messages


SenderMessageTime
15 Apr 2022
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgNow the question is... why can't I downgrade my server? 😂20:40:19
@artturin:matrix.orgArtturini don't know, i can't see your screen20:43:53
@artturin:matrix.orgArtturin

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@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:matrix.orgArtturin *

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@ulrikstrid:matrix.org And I apply it via my flake (which works for everything else) with a switch 20:44:52
@ulrikstrid:matrix.org@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:matrix.orgArtturin pkgs.nix is 2.7.0 20:45:34
@artturin:matrix.orgArtturinon unstable at least20:46:02
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgI'm on unstable. but it should still be 2.7.020:46:04
@artturin:matrix.orgArtturinforgot you we're trying to go back from 2.820:46:37
@artturin:matrix.orgArtturin * forgot you were trying to go back from 2.820:46:42
@artturin:matrix.orgArtturinrestart the nix daemon20:46:49
@artturin:matrix.orgArtturin sudo systemctl restart nix-daemon.service 20:47:01
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgTrying a full reboot20:48:52
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgNot even that helped20:49:38
@artturin:matrix.orgArtturin Ulrik Strid: nix doctor 20:56:13
@artturin:matrix.orgArtturin * Ulrik Strid: nix doctor -vvvv 20:56:17
@ulrikstrid:matrix.org@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@ulrikstrid:matrix.org

But I still get

nix --version
nix (Nix) 2.8.0pre20220405_5fe4fe8
21:01:34
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgMy 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 tomorrow21:02:02
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgThanks for the help! :)21:02:07
16 Apr 2022
@ulrikstrid:matrix.org@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@ulrikstrid:matrix.orgAnyone 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@ulrikstrid:matrix.orgI 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@ulrikstrid:matrix.org Cc Linux Hackerman 15:03:29
@ulrikstrid:matrix.org@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:ckie.devckie (they/them) Ulrik Strid: check the commits between those two? 22:01:21
17 Apr 2022
@ulrikstrid:matrix.org@ulrikstrid:matrix.orgI 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 infra05:30:52
@ulrikstrid:matrix.org@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

Show newer messages


Back to Room ListRoom Version: 6