From e81cf2f06c787b5dc36a39e578c7c070a40bd395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 8 Jul 2017 11:38:22 +0200 Subject: [PATCH] terminus-font-ttf: nitpick fixes/improvements share/doc/COPYING would be a too general name and could collide with other packages. --- pkgs/data/fonts/terminus-font-ttf/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/data/fonts/terminus-font-ttf/default.nix b/pkgs/data/fonts/terminus-font-ttf/default.nix index e9adc4c0422b..01959f91195f 100644 --- a/pkgs/data/fonts/terminus-font-ttf/default.nix +++ b/pkgs/data/fonts/terminus-font-ttf/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188"; }; - buildInputs = [unzip]; + nativeBuildInputs = [ unzip ]; installPhase = '' for i in *.ttf; do @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { install -Dm 644 "$i" "$out/share/fonts/truetype/$destname" done - install -Dm 644 COPYING "$out/share/doc/COPYING" + install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING" ''; meta = with stdenv.lib; { @@ -29,6 +29,6 @@ stdenv.mkDerivation rec { homepage = http://files.ax86.net/terminus-ttf; license = licenses.ofl; maintainers = with maintainers; [ okasu ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }