diff options
author | Wouter den Breejen <uu@denbreejen.net> | 2008-07-07 19:02:57 +0000 |
---|---|---|
committer | Wouter den Breejen <uu@denbreejen.net> | 2008-07-07 19:02:57 +0000 |
commit | 4650c3ddc57b432c90af5a9299a36f0973d292ec (patch) | |
tree | c0bd0860f3ae55f621454bd3e54b931293690004 /pkgs/data | |
parent | 20d29abc6344b03f1396065860b10d18c1ce4864 (diff) | |
download | nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar.gz nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar.bz2 nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar.lz nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar.xz nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.tar.zst nixpkgs-4650c3ddc57b432c90af5a9299a36f0973d292ec.zip |
Redhat n00bs calls their source xxx.tar.gz but it is not gzipped . . the generic builder can also not figure this out . . .
svn path=/nixpkgs/trunk/; revision=12310
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/redhat-liberation-fonts/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/data/fonts/redhat-liberation-fonts/default.nix b/pkgs/data/fonts/redhat-liberation-fonts/default.nix index c7503e243bd..0e46ee544b2 100644 --- a/pkgs/data/fonts/redhat-liberation-fonts/default.nix +++ b/pkgs/data/fonts/redhat-liberation-fonts/default.nix @@ -3,9 +3,11 @@ stdenv.mkDerivation { name = "redhat-liberation"; src = fetchurl { - url = https://www.redhat.com/f/fonts/liberation-fonts.tar.gz; + url = http://www.redhat.com/f/fonts/liberation-fonts.tar.gz; sha256 = "5749c27f3deb5da323961e86efed1306fc072bea9065790d0047ad61471be6a5"; }; + + unpackPhase = ''tar -xvf "$src" && sourceRoot="$PWD/liberation-fonts"''; installPhase = '' ensureDir $out/share/fonts/truetype cp *.ttf $out/share/fonts/truetype |