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.
This commit is contained in:
Dmitry Kalinkin 2018-12-10 06:38:45 +03:00
parent 703827f36c
commit 357f6a8b7e

View file

@ -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 = ''