summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/physics/cernlib/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/physics/cernlib/default.nix')
-rw-r--r--pkgs/development/libraries/physics/cernlib/default.nix10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/physics/cernlib/default.nix b/pkgs/development/libraries/physics/cernlib/default.nix
index 84657d726797..f953b663143d 100644
--- a/pkgs/development/libraries/physics/cernlib/default.nix
+++ b/pkgs/development/libraries/physics/cernlib/default.nix
@@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
--replace "# define MakeCmd gmake" "# define MakeCmd make"
substituteInPlace 2006/src/config/lnxLib.rules \
--replace "# lib" "// lib"
+ # binutils 2.37 fix
+ substituteInPlace 2006/src/config/Imake.tmpl --replace "clq" "cq"
'';
configurePhase = ''
@@ -39,12 +41,12 @@ stdenv.mkDerivation rec {
cd $CERN_ROOT/build
$CVSCOSRC/config/imake_boot
- make bin/kuipc
- make scripts/Makefile
+ make -j $NIX_BUILD_CORES bin/kuipc
+ make -j $NIX_BUILD_CORES scripts/Makefile
pushd scripts
- make install.bin
+ make -j $NIX_BUILD_CORES install.bin
popd
- make
+ make -j $NIX_BUILD_CORES
'';
installPhase = ''