3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #95184 from seylerius/master

iosevka: unify output directory with other fonts
This commit is contained in:
Martin Weinelt 2020-08-15 03:00:57 +02:00 committed by GitHub
commit 99c6768ecb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ in fetchzip {
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/truetype
'';
sha256 = "0qqzgfplib6jdn1fra7fwx25jkzlw21brj45q8gn3gxvndvqabvd";

View file

@ -74,7 +74,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
fontdir="$out/share/fonts/$pname"
fontdir="$out/share/fonts/truetype"
install -d "$fontdir"
install "dist/$pname/ttf"/* "$fontdir"
'';