Skip to content

nix: 2.7 -> unstable-2022-11-16#35

Merged
jonringer merged 1 commit intojonringer:mainfrom
milahu:nix-unstable-pr-7283
Nov 20, 2022
Merged

nix: 2.7 -> unstable-2022-11-16#35
jonringer merged 1 commit intojonringer:mainfrom
milahu:nix-unstable-pr-7283

Conversation

@milahu
Copy link
Contributor

@milahu milahu commented Nov 20, 2022

use nix with NixOS/nix#7283

fix #29
fix NixOS/nix#6572

@jonringer jonringer merged commit 332e496 into jonringer:main Nov 20, 2022
@milahu
Copy link
Contributor Author

milahu commented Nov 20, 2022

on my system, nixos-rebuild switch fails with

...

nix-unstable> ran test tests/completions.sh... [PASS]
nix-unstable> ran test tests/nix-profile.sh... [PASS]
nix-unstable> ran test tests/path-from-hash-part.sh... [PASS]
nix-unstable> ran test tests/compute-levels.sh... [PASS]
nix-unstable> ran test tests/impure-derivations.sh... [PASS]
nix-unstable> installCheckPhase completed in 3 minutes 8 seconds
building the system configuration...
warning: Git tree '/home/user/etc/nixos' is dirty
error: assertion '(isNixAtLeast "2.2")' failed

       at /nix/store/qx49n5zbgid072vrhv6cjnqc94242y1r-source/nixos/modules/services/misc/nix-daemon.nix:33:5:

           32|   nixConf =
           33|     assert isNixAtLeast "2.2";
             |     ^
           34|     let

looks like we need to override version

should work with

-    version = "unstable-2022-11-16";
+    version = "2.11.1-unstable-2022-11-16";
lib.versionOlder "2.2" "unstable-2022-11-16" == false
lib.versionOlder "2.2" "2.11.1-unstable-2022-11-16" == true

This was referenced Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nix-build: requires non-existent output 'out' from input derivation

2 participants