pop-gtk-theme: fix cross-compilation
Use optipng and inkscape from buildPackages, not from target Signed-off-by: Alexander V. Nikolaev <avn@avnik.info>
This commit is contained in:
parent
4442183d55
commit
d780e942be
@ -12,6 +12,7 @@
|
|||||||
gdk-pixbuf,
|
gdk-pixbuf,
|
||||||
librsvg,
|
librsvg,
|
||||||
python3,
|
python3,
|
||||||
|
buildPackages,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
@ -50,9 +51,9 @@ stdenv.mkDerivation {
|
|||||||
for file in $(find -name render-\*.sh); do
|
for file in $(find -name render-\*.sh); do
|
||||||
substituteInPlace "$file" \
|
substituteInPlace "$file" \
|
||||||
--replace 'INKSCAPE="/usr/bin/inkscape"' \
|
--replace 'INKSCAPE="/usr/bin/inkscape"' \
|
||||||
'INKSCAPE="${inkscape}/bin/inkscape"' \
|
'INKSCAPE="${buildPackages.inkscape}/bin/inkscape"' \
|
||||||
--replace 'OPTIPNG="/usr/bin/optipng"' \
|
--replace 'OPTIPNG="/usr/bin/optipng"' \
|
||||||
'OPTIPNG="${optipng}/bin/optipng"'
|
'OPTIPNG="${buildPackages.optipng}/bin/optipng"'
|
||||||
done
|
done
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user