gromacs*: fixup paths in .pc files

This commit is contained in:
Vladimír Čunát 2022-09-28 16:48:34 +02:00
parent 70776ac218
commit 7ddee326c2
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -63,6 +63,12 @@ in stdenv.mkDerivation rec {
]
) ++ lib.optional enableCuda "-DGMX_GPU=CUDA";
postFixup = ''
substituteInPlace "$out"/lib/pkgconfig/*.pc \
--replace '=''${prefix}//' '=/' \
--replace "$out/$out/" "$out/"
'';
meta = with lib; {
homepage = "http://www.gromacs.org";
license = licenses.gpl2;