boost: Remove dependencies on boost-dev

This commit is contained in:
William A. Kennington III
2014-11-02 17:22:27 -08:00
parent af8654db27
commit 09d970ce12
2 changed files with 17 additions and 2 deletions
+5 -2
View File
@@ -1,4 +1,4 @@
{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames
{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, makeSetupHook
, toolset ? null
, enableRelease ? true
, enableDebug ? false
@@ -89,13 +89,16 @@ let
# Create a derivation which encompasses everything, making buildInputs nicer
mkdir -p $out/nix-support
echo "$dev $lib" > $out/nix-support/propagated-native-build-inputs
echo "${stripHeaderPathHook} $dev $lib" > $out/nix-support/propagated-native-build-inputs
'';
commonConfigureFlags = [
"--includedir=$(dev)/include"
"--libdir=$(lib)/lib"
];
stripHeaderPathHook = makeSetupHook { } ./strip-header-path.sh;
in
stdenv.mkDerivation {