mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
dina-font: fix the installPhase
This commit is contained in:
parent
7930abd1a5
commit
ab012ecdb5
@ -13,14 +13,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
dontBuild = true;
|
||||
patchPhase = "sed -i 's/microsoft-cp1252/ISO8859-1/' *.bdf";
|
||||
preInstall = ''
|
||||
export _get_font_size() {
|
||||
installPhase = ''
|
||||
_get_font_size() {
|
||||
_pt=$\{1%.bdf}
|
||||
_pt=$\{_pt#*-}
|
||||
echo $_pt
|
||||
}
|
||||
'';
|
||||
installPhase = ''
|
||||
|
||||
for i in Dina_i400-*.bdf; do
|
||||
bdftopcf -t -o DinaItalic$(_get_font_size $i).pcf $i
|
||||
|
Loading…
Reference in New Issue
Block a user