about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-09-22 05:17:36 +0200
committeraszlig <aszlig@nix.build>2018-09-22 05:27:26 +0200
commit5dcf14e5cd3ac05767326522f64abdffbf26074e (patch)
treee80652a50ec23b0cf70e6c532d51b7d08aa723ce /pkgs/build-support
parent7f01ff7eae4e75d80d327bc2887821f36ea83f44 (diff)
pkgs/sandbox: Add dependency on Boost
We're not directly using Boost but some headers are included in the
headers we use, which causes the build to fail on newer Nix versions.

In theory, this should be propagated by the Nix derivation. See also
this comment:

https://github.com/NixOS/nixpkgs/issues/39001#issuecomment-381949306

However, when looking at the Nix derivation, it already contains code
that takes care of not propagating the boost dependency.

Nevertheless, adding the dependency on our end even though it could
become redundant some day certainly won't hurt.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/build-sandbox/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/build-support/build-sandbox/default.nix b/pkgs/build-support/build-sandbox/default.nix
index a52be5c9..4265d30d 100644
--- a/pkgs/build-support/build-sandbox/default.nix
+++ b/pkgs/build-support/build-sandbox/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, pkgconfig, nix }:
+{ stdenv, lib, pkgconfig, nix, boost }:
 
 drv: { paths ? {}, ... }@attrs:
 
@@ -78,7 +78,7 @@ in stdenv.mkDerivation ({
   '';
 
   nativeBuildInputs = [ pkgconfig ];
-  buildInputs = [ nix ];
+  buildInputs = [ nix boost ];
   makeFlags = [ "BINDIR=${drv}/bin" ];
 
 } // removeAttrs attrs [ "paths" ])