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:
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# lrelease is in qttools, not in qtbase.
|
# lrelease is in qttools, not in qtbase.
|
||||||
substituteInPlace configure --replace '$'{QT5LOC}/lrelease lrelease
|
sed -i configure -e 's|''${QT5LOC}/lrelease|lrelease|'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
|||||||
Reference in New Issue
Block a user