treewide: replace inkscape with inkscape_0
The Inkscape CLI interface has been changed with 1.x and packages are not adjusted yet to this change. Let's use inkscape 0.x instead.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
, ninja
|
||||
, sassc
|
||||
, gtk3
|
||||
, inkscape
|
||||
, inkscape_0
|
||||
, optipng
|
||||
, gtk-engine-murrine
|
||||
, gdk-pixbuf
|
||||
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
|
||||
ninja
|
||||
sassc
|
||||
gtk3
|
||||
inkscape
|
||||
inkscape_0
|
||||
optipng
|
||||
python3
|
||||
];
|
||||
@@ -48,9 +48,9 @@ stdenv.mkDerivation rec {
|
||||
for file in $(find -name render-\*.sh); do
|
||||
substituteInPlace "$file" \
|
||||
--replace 'INKSCAPE="/usr/bin/inkscape"' \
|
||||
'INKSCAPE="inkscape"' \
|
||||
'INKSCAPE="${inkscape_0}/bin/inkscape"' \
|
||||
--replace 'OPTIPNG="/usr/bin/optipng"' \
|
||||
'OPTIPNG="optipng"'
|
||||
'OPTIPNG="${optipng}/bin/optipng"'
|
||||
done
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user