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/security/pius | |
parent | aadaa913792b0fdeb68b02425e4f03d2f8286a1f (diff) |
use dontBuild instead of hacks
changes: * buildPhase = "true" * buildPhase = ":"
Diffstat (limited to 'pkgs/tools/security/pius')
-rw-r--r-- | pkgs/tools/security/pius/default.nix | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/pkgs/tools/security/pius/default.nix b/pkgs/tools/security/pius/default.nix index ae9b3be9ee2fa..c81a01ef8962d 100644 --- a/pkgs/tools/security/pius/default.nix +++ b/pkgs/tools/security/pius/default.nix @@ -12,19 +12,19 @@ stdenv.mkDerivation { buildInputs = [ python ]; - patchPhase = - '' sed -i "pius" -e's|/usr/bin/gpg|${gnupg}/bin/gpg2|g' - ''; + patchPhase = '' + sed -i "pius" -e's|/usr/bin/gpg|${gnupg}/bin/gpg2|g' + ''; - buildPhase = "true"; + dontBuild = true; - installPhase = - '' mkdir -p "$out/bin" - cp -v pius "$out/bin" + installPhase = '' + mkdir -p "$out/bin" + cp -v pius "$out/bin" - mkdir -p "$out/doc/pius-${version}" - cp -v README "$out/doc/pius-${version}" - ''; + mkdir -p "$out/doc/pius-${version}" + cp -v README "$out/doc/pius-${version}" + ''; meta = { homepage = http://www.phildev.net/pius/; |