summary refs log tree commit diff
path: root/pkgs/data/fonts/ttf-bitstream-vera
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/data/fonts/ttf-bitstream-vera')
-rw-r--r--pkgs/data/fonts/ttf-bitstream-vera/default.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkgs/data/fonts/ttf-bitstream-vera/default.nix b/pkgs/data/fonts/ttf-bitstream-vera/default.nix
index cf8a3344009..f485f43b60c 100644
--- a/pkgs/data/fonts/ttf-bitstream-vera/default.nix
+++ b/pkgs/data/fonts/ttf-bitstream-vera/default.nix
@@ -10,14 +10,11 @@ fetchzip rec {
 
   postFetch = ''
     tar -xjf $downloadedFile --strip-components=1
-    fontDir=$out/share/fonts/truetype
-    mkdir -p $fontDir
-    cp *.ttf $fontDir
+    install -m444 -Dt $out/share/fonts/truetype *.ttf
   '';
 
   sha256 = "179hal4yi3367jg8rsvqx6h2w4s0kn9zzrv8c47sslyg28g39s4m";
 
   meta = {
-    platforms = stdenv.lib.platforms.unix;
   };
 }