use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
This commit is contained in:
@@ -10,25 +10,24 @@ stdenv.mkDerivation {
|
||||
sha256 = "1pwz83yh28yd8aj6fbyfz8z3q3v67psszpd9mp4vv0ms9w8b5ajn";
|
||||
};
|
||||
|
||||
buildPhase = "true";
|
||||
dontBuild = true;
|
||||
|
||||
installPhase =
|
||||
''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v */*.otf $out/share/fonts/opentype
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/fonts/opentype
|
||||
cp -v */*.otf $out/share/fonts/opentype
|
||||
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v */*.ttf $out/share/fonts/truetype
|
||||
mkdir -p $out/share/fonts/truetype
|
||||
cp -v */*.ttf $out/share/fonts/truetype
|
||||
|
||||
mkdir -p $out/share/fonts/bdf
|
||||
cp -v */BDF/*.bdf $out/share/fonts/bdf
|
||||
mkdir -p $out/share/fonts/bdf
|
||||
cp -v */BDF/*.bdf $out/share/fonts/bdf
|
||||
|
||||
mkdir -p $out/share/fonts/pcf
|
||||
cp -v */PCF/*.pcf.gz $out/share/fonts/pcf
|
||||
mkdir -p $out/share/fonts/pcf
|
||||
cp -v */PCF/*.pcf.gz $out/share/fonts/pcf
|
||||
|
||||
mkdir -p $out/share/fonts/psf
|
||||
cp -v */PSF/*.psf.gz $out/share/fonts/psf
|
||||
'';
|
||||
mkdir -p $out/share/fonts/psf
|
||||
cp -v */PSF/*.psf.gz $out/share/fonts/psf
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = https://github.com/powerline/fonts;
|
||||
|
||||
Reference in New Issue
Block a user