From c198d4b1b4ad9309ee5cab4cfefd7fb444f19d6b Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 24 Mar 2022 11:05:35 +0100 Subject: 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). --- pkgs/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pkgs') 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 { }; -- cgit 1.4.1