diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-12-10 06:38:45 +0300 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2018-12-10 06:38:45 +0300 |
commit | 357f6a8b7e21b901c8a5b6d3e7d425415c8c1300 (patch) | |
tree | 79ea5505148ef05fdcab6b15262d00d9c046883f /pkgs/development/libraries/physics/cernlib/default.nix | |
parent | 703827f36cc65b137eed4d759b31827d29733072 (diff) | |
download | nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar.gz nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar.bz2 nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar.lz nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar.xz nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.tar.zst nixpkgs-357f6a8b7e21b901c8a5b6d3e7d425415c8c1300.zip |
cernlib: fix build
The imake rules contain a comment line that looks like a pragma. Recently imake in nixpkgs was switched to use tradcpp, which is a bit more strict about interpreting unknown pragmas. To fix the build, the comments is changed to use C++ style comments.
Diffstat (limited to 'pkgs/development/libraries/physics/cernlib/default.nix')
-rw-r--r-- | pkgs/development/libraries/physics/cernlib/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/physics/cernlib/default.nix b/pkgs/development/libraries/physics/cernlib/default.nix index 92d2ab96232..36b385828bc 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 = '' |