diff --git a/pkgs/development/libraries/physics/cernlib/default.nix b/pkgs/development/libraries/physics/cernlib/default.nix index 92d2ab962323..36b385828bc8 100644 --- a/pkgs/development/libraries/physics/cernlib/default.nix +++ b/pkgs/development/libraries/physics/cernlib/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace 2006/src/config/site.def \ --replace "# define MakeCmd gmake" "# define MakeCmd make" + substituteInPlace 2006/src/config/lnxLib.rules \ + --replace "# lib" "// lib" ''; configurePhase = ''