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:
parent
67e8392383
commit
0ed9de2546
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user