Skip to content

Commit e81cf2f

Browse files
committedJul 8, 2017
terminus-font-ttf: nitpick fixes/improvements
share/doc/COPYING would be a too general name and could collide with other packages.
1 parent c057098 commit e81cf2f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎pkgs/data/fonts/terminus-font-ttf/default.nix

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ stdenv.mkDerivation rec {
99
sha256 = "c3cb690c2935123035a0b1f3bfdd9511c282dab489cd423e161a47c592edf188";
1010
};
1111

12-
buildInputs = [unzip];
12+
nativeBuildInputs = [ unzip ];
1313

1414
installPhase = ''
1515
for i in *.ttf; do
1616
local destname="$(echo "$i" | sed -E 's|-[[:digit:].]+\.ttf$|.ttf|')"
1717
install -Dm 644 "$i" "$out/share/fonts/truetype/$destname"
1818
done
1919
20-
install -Dm 644 COPYING "$out/share/doc/COPYING"
20+
install -Dm 644 COPYING "$out/share/doc/terminus-font-ttf/COPYING"
2121
'';
2222

2323
meta = with stdenv.lib; {
@@ -29,6 +29,6 @@ stdenv.mkDerivation rec {
2929
homepage = http://files.ax86.net/terminus-ttf;
3030
license = licenses.ofl;
3131
maintainers = with maintainers; [ okasu ];
32-
platforms = platforms.linux;
32+
platforms = platforms.unix;
3333
};
3434
}

1 commit comments

Comments
 (1)

vcunat commented on Jul 8, 2017

@vcunat
MemberAuthor

/cc maintainer @okasu.

Please sign in to comment.