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/tools/typesetting/tex/pgfplots/default.nix | |
parent | aadaa913792b0fdeb68b02425e4f03d2f8286a1f (diff) | |
download | nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.gz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.bz2 nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.lz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.xz nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.tar.zst nixlib-9820cb1bf24254199db05856bbb4919378ac75cb.zip |
use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
Diffstat (limited to 'pkgs/tools/typesetting/tex/pgfplots/default.nix')
-rw-r--r-- | pkgs/tools/typesetting/tex/pgfplots/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/tools/typesetting/tex/pgfplots/default.nix b/pkgs/tools/typesetting/tex/pgfplots/default.nix index 67739350c6f6..d7c03967b0b4 100644 --- a/pkgs/tools/typesetting/tex/pgfplots/default.nix +++ b/pkgs/tools/typesetting/tex/pgfplots/default.nix @@ -2,17 +2,18 @@ stdenv.mkDerivation { name = "pgfplots-1.5.1"; + src = fetchurl { url = mirror://sourceforge/pgfplots/pgfplots_1.5.1.tds.zip; sha256 = "1xajrmq35i0qlsfwydy5zzg6f1jg88hqqh5b3xsmglzrarnllbdi"; }; - + buildInputs = [ unzip ]; - + unpackPhase = "unzip $src"; - - buildPhase = "true"; - + + dontBuild = true; + installPhase = " mkdir -p $out/share/texmf-nix cp -prd * $out/share/texmf-nix |