diff options
author | Robin Gloster <mail@glob.in> | 2017-08-11 11:40:08 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2017-08-11 11:40:36 +0200 |
commit | 28cc2642f09419b0a8345d6349329b851d11ad98 (patch) | |
tree | 4b107b35809712540a0962b53dc2f75dfd2fdda0 /pkgs/tools/networking/tlspool | |
parent | 72457cdebbeeafbc48cba517f07351ff02cc0dab (diff) | |
download | nixlib-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.nix | 4 |
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" |