gnuplot: Use quoting syntax that's compatible with old and new Nix versions

There is probably a way to have it work with substituteInPlace, but
using sed is a cheap solution to not having to figure out how to escape
"'$'" in Nix that works in both versions.

Issue #31179.
Fixes #33833.
This commit is contained in:
Tuomas Tynkkynen 2018-01-15 00:03:38 +02:00
parent 67e8392383
commit 0ed9de2546

View File

@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
postPatch = ''
# lrelease is in qttools, not in qtbase.
substituteInPlace configure --replace '$'{QT5LOC}/lrelease lrelease
sed -i configure -e 's|''${QT5LOC}/lrelease|lrelease|'
'';
configureFlags = [