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:
Renaud 2019-10-12 15:19:00 +02:00 committed by GitHub
commit 98b74470ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View file

@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
# convert bdf to psf fonts
build=$(pwd)
mkdir psf
cd ${bdf2psf}/usr/share/bdf2psf
cd ${bdf2psf}/share/bdf2psf
for i in $bdf/*.bdf; do
bdf2psf \
--fb "$i" standard.equivalents \

View file

@ -17,8 +17,7 @@ stdenv.mkDerivation rec {
unpackPhase = "dpkg-deb -x $src .";
installPhase = "
substituteInPlace usr/bin/bdf2psf --replace /usr/bin/perl ${perl}/bin/perl
mv usr/bin .
cp -r . $out
mv usr $out
";
meta = with stdenv.lib; {