about summary refs log tree commit diff
path: root/pkgs/tools/networking/tlspool
diff options
context:
space:
mode:
authorRobin Gloster <mail@glob.in>2017-08-11 11:40:08 +0200
committerRobin Gloster <mail@glob.in>2017-08-11 11:40:36 +0200
commit28cc2642f09419b0a8345d6349329b851d11ad98 (patch)
tree4b107b35809712540a0962b53dc2f75dfd2fdda0 /pkgs/tools/networking/tlspool
parent72457cdebbeeafbc48cba517f07351ff02cc0dab (diff)
downloadnixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.gz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.bz2
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.lz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.xz
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.tar.zst
nixlib-28cc2642f09419b0a8345d6349329b851d11ad98.zip
treewide: use less `phases` if not necessary
This removes some skipping of e.g. fixupPhase and cleans up occurences
where this led to duplicating code
Diffstat (limited to 'pkgs/tools/networking/tlspool')
-rw-r--r--pkgs/tools/networking/tlspool/default.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/tools/networking/tlspool/default.nix b/pkgs/tools/networking/tlspool/default.nix
index 2a43358a5e1a..4a1e91f7f591 100644
--- a/pkgs/tools/networking/tlspool/default.nix
+++ b/pkgs/tools/networking/tlspool/default.nix
@@ -23,11 +23,9 @@ stdenv.mkDerivation rec {
                   libkrb5 ldns libtool swig pkgs.pythonPackages.pip gnutls-kdh ]
                 ++ stdenv.lib.optional useSystemd systemd;
 
-  phases = [ "unpackPhase" "patchPhase" "postPatchPhase" "buildPhase" "installPhase" ]; 
-
   patches = [ ./fixing-rpath.patch ./configvar-fix.patch ];
 
-  postPatchPhase = ''
+  postPatch = ''
     substituteInPlace etc/tlspool.conf \
       --replace "dnssec_rootkey ../etc/root.key" "dnssec_rootkey $out/etc/root.key" \
       --replace "pkcs11_path /usr/local/lib/softhsm/libsofthsm2.so" "pkcs11_path ${softhsm}/lib/softhsm/libsofthsm2.so"