about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2022-03-24 11:05:35 +0100
committersternenseemann <sternenseemann@systemli.org>2022-03-24 11:05:35 +0100
commitc198d4b1b4ad9309ee5cab4cfefd7fb444f19d6b (patch)
tree2db79559608dd5b7896495c43330003c31e2ec43 /pkgs
parent122e1a49a31f58936f44bcbbe000d36d1c80530e (diff)
pkgs/build-support/build-sandbox: fix eval without aliases
nix_2_3 is an alias for nixVersions.nix_2_3 upstream now and the test
infrastructure from nixpkgs seems to default to allowAliases = false;
when evaluating (which is actually quite concerning for downstream
usage).
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 94fa4116..0793bdbf 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -17,7 +17,9 @@ let
 
   self.vuizvui = recurseIntoAttrs {
     mkChannel = callPackage ./build-support/channel.nix { };
-    buildSandbox = callPackage ./build-support/build-sandbox {};
+    buildSandbox = callPackage ./build-support/build-sandbox {
+      inherit (pkgs.nixVersions) nix_2_3;
+    };
     lazy-packages = callPackage ./build-support/lazy-packages {};
 
     list-gamecontrollers = callPackage ./list-gamecontrollers { };