Merge pull request #68747 from dtzWill/fix/bdf2psf-usr-env-vars
bdf2psf: fix /usr/share -> /share, and don't install env-vars
This commit is contained in:
commit
98b74470ef
@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
# convert bdf to psf fonts
|
# convert bdf to psf fonts
|
||||||
build=$(pwd)
|
build=$(pwd)
|
||||||
mkdir psf
|
mkdir psf
|
||||||
cd ${bdf2psf}/usr/share/bdf2psf
|
cd ${bdf2psf}/share/bdf2psf
|
||||||
for i in $bdf/*.bdf; do
|
for i in $bdf/*.bdf; do
|
||||||
bdf2psf \
|
bdf2psf \
|
||||||
--fb "$i" standard.equivalents \
|
--fb "$i" standard.equivalents \
|
||||||
|
@ -17,8 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
unpackPhase = "dpkg-deb -x $src .";
|
unpackPhase = "dpkg-deb -x $src .";
|
||||||
installPhase = "
|
installPhase = "
|
||||||
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
|
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
|
||||||
mv usr/bin .
|
mv usr $out
|
||||||
cp -r . $out
|
|
||||||
";
|
";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user