Skip to content

Commit

Permalink
gromacs*: fixup paths in .pc files
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Sep 28, 2022
1 parent 70776ac commit 7ddee32
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ddee32

Please sign in to comment.