diff --git a/pkgs/development/interpreters/cg3/default.nix b/pkgs/development/interpreters/cg3/default.nix index 27db9bebcd0c..7f7a38185f9e 100644 --- a/pkgs/development/interpreters/cg3/default.nix +++ b/pkgs/development/interpreters/cg3/default.nix @@ -30,6 +30,11 @@ let cg3 = stdenv.mkDerivation rec { doCheck = true; + postFixup = '' + substituteInPlace "$out"/lib/pkgconfig/cg3.pc \ + --replace '=''${prefix}//' '=/' + ''; + passthru.tests.minimal = runCommand "${pname}-test" { buildInputs = [ cg3