treewide: Make explicit that 'dev' output of boost is used
Also fix one incorrect output in geant.
This commit is contained in:
parent
e9bf11b039
commit
a18ee4acb7
@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
]);
|
||||
|
||||
configurePhase = ''
|
||||
export BOOST_INCLUDEDIR=${boost}/include
|
||||
export BOOST_INCLUDEDIR=${boost.dev}/include
|
||||
export BOOST_LIBRARYDIR=${boost.out}/lib
|
||||
|
||||
mkdir -p Build/Install
|
||||
|
@ -30,8 +30,8 @@ let
|
||||
--with-g4install-dir=${geant4} \
|
||||
--with-python-incdir=${python}/include/python${python.majorVersion} \
|
||||
--with-python-libdir=${python}/lib \
|
||||
--with-boost-incdir=${boost}/include \
|
||||
--with-boost-libdir=${boost}/lib
|
||||
--with-boost-incdir=${boost.dev}/include \
|
||||
--with-boost-libdir=${boost.out}/lib
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
findInputs ${boost} boost_dirs propagated-native-build-inputs
|
||||
findInputs ${boost.dev} boost_dirs propagated-native-build-inputs
|
||||
|
||||
export BOOST_INCLUDEDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep '\-dev')/include
|
||||
export BOOST_LIBRARYDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep -v '\-dev')/lib
|
||||
|
@ -30,7 +30,7 @@ buildPythonPackage rec {
|
||||
};
|
||||
|
||||
preConfigure = ''
|
||||
findInputs ${boost} boost_dirs propagated-native-build-inputs
|
||||
findInputs ${boost.dev} boost_dirs propagated-native-build-inputs
|
||||
|
||||
export BOOST_INCLUDEDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep '\-dev')/include
|
||||
export BOOST_LIBRARYDIR=$(echo $boost_dirs | sed -e s/\ /\\n/g - | grep -v '\-dev')/lib
|
||||
|
Loading…
Reference in New Issue
Block a user