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/text/popfile | |
parent | 72457cdebbeeafbc48cba517f07351ff02cc0dab (diff) |
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/text/popfile')
-rw-r--r-- | pkgs/tools/text/popfile/default.nix | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/pkgs/tools/text/popfile/default.nix b/pkgs/tools/text/popfile/default.nix index 4048093a3958b..334c0ee403ca1 100644 --- a/pkgs/tools/text/popfile/default.nix +++ b/pkgs/tools/text/popfile/default.nix @@ -25,15 +25,12 @@ stdenv.mkDerivation rec { TimeDate # == DateParse HTMLTemplate # IO::Socket::Socks is not in nixpkgs - # IOSocketSocks + # IOSocketSocks IOSocketSSL NetSSLeay SOAPLite ]); - - phases = [ "unpackPhase" "installPhase" "patchPhase" "postInstall" ]; - installPhase = '' mkdir -p $out/bin # I user `cd` rather than `cp $out/* ...` b/c the * breaks syntax @@ -42,11 +39,7 @@ stdenv.mkDerivation rec { cp -r * $out/bin cd $out/bin chmod +x *.pl - ''; - patchPhase = "patchShebangs $out"; - - postInstall = '' find $out -name '*.pl' -executable | while read path; do wrapProgram "$path" \ --prefix PERL5LIB : $PERL5LIB:$out/bin \ @@ -66,6 +59,4 @@ stdenv.mkDerivation rec { # http://getpopfile.org/docs/faq:systemrequirements platforms = stdenv.lib.platforms.linux; }; - } - |