about summary refs log tree commit diff
path: root/pkgs/build-support/build-sandbox/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/build-sandbox/default.nix')
-rw-r--r--pkgs/build-support/build-sandbox/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/build-support/build-sandbox/default.nix b/pkgs/build-support/build-sandbox/default.nix
index 3b42f4f3..09c1b3de 100644
--- a/pkgs/build-support/build-sandbox/default.nix
+++ b/pkgs/build-support/build-sandbox/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, pkg-config, closureInfo, nix, boost, dash }:
+{ stdenv, lib, pkg-config, closureInfo, nix_2_3, boost, dash }:
 
 drv: { paths ? {}, ... }@attrs:
 
@@ -98,7 +98,8 @@ in stdenv.mkDerivation ({
   '';
 
   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ boost nix ];
+  # FIXME: Use current Nix after fixing API compatibility.
+  buildInputs = [ boost nix_2_3 ];
   makeFlags = [ "BINDIR=${drv}/bin" "EXTRA_NS_FLAGS=${extraNamespaceFlags}" ]
            ++ lib.optional allowBinSh "BINSH_EXECUTABLE=${dash}/bin/dash"
            ++ lib.optional fullNixStore "FULL_NIX_STORE=1";