diff options
author | Robin Gloster <mail@glob.in> | 2016-05-04 10:08:35 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-05-04 10:11:04 +0000 |
commit | 9820cb1bf24254199db05856bbb4919378ac75cb (patch) | |
tree | 6c6bfeb09e5799573e7546419e3496a6fcf0863a /pkgs/data/fonts/vista-fonts | |
parent | aadaa913792b0fdeb68b02425e4f03d2f8286a1f (diff) | |
download | nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar.gz nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar.bz2 nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar.lz nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar.xz nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.tar.zst nixpkgs-9820cb1bf24254199db05856bbb4919378ac75cb.zip |
use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
Diffstat (limited to 'pkgs/data/fonts/vista-fonts')
-rw-r--r-- | pkgs/data/fonts/vista-fonts/default.nix | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/data/fonts/vista-fonts/default.nix b/pkgs/data/fonts/vista-fonts/default.nix index f3165b33cca..b2854b399f6 100644 --- a/pkgs/data/fonts/vista-fonts/default.nix +++ b/pkgs/data/fonts/vista-fonts/default.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation { name = "vista-fonts-1"; - + src = fetchurl { url = http://download.microsoft.com/download/f/5/a/f5a3df76-d856-4a61-a6bd-722f52a5be26/PowerPointViewer.exe; sha256 = "07vhjdw8iip7gxk6wvp4myhvbn9619g10j9qvpbzz4ihima57ry4"; @@ -10,14 +10,14 @@ stdenv.mkDerivation { buildInputs = [cabextract]; - unpackPhase = " + unpackPhase = '' cabextract --lowercase --filter ppviewer.cab $src cabextract --lowercase --filter '*.TTF' ppviewer.cab sourceRoot=. - "; - - buildPhase = "true"; - + ''; + + dontBuild = true; + installPhase = '' mkdir -p $out/share/fonts/truetype cp *.ttf $out/share/fonts/truetype |