summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-05-28 00:34:01 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-25 00:04:22 +0200
commita3eb56c4fc73da93d42c9298cc94aafffca0bd37 (patch)
treee914ef9f11a06f6a4fa75aab80a134b8868dcd51 /lib
parenta8e4bf7554dc7219b23c0ff076321f62c24b2b82 (diff)
downloadNUR-a3eb56c4fc73da93d42c9298cc94aafffca0bd37.tar.gz
NUR-a3eb56c4fc73da93d42c9298cc94aafffca0bd37.tar.zst
NUR-a3eb56c4fc73da93d42c9298cc94aafffca0bd37.zip
Remove private specificities from pure-ftpd package and lib
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix20
1 files changed, 1 insertions, 19 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 1baee1f5..6b3dfdf4 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -61,22 +61,4 @@ rec {
61 makeWrapper "$f" "$out" ${toString args} 61 makeWrapper "$f" "$out" ${toString args}
62 ''; 62 '';
63 63
64 # This adds header colors to the builds, but it rebuilds the whole 64} // (if builtins.pathExists ./private then callPackage ./private {} else {})
65 # world from scratch, so only use it to debug!
66 # add it as postHook in derivations
67 immaePostHook = ''
68 header() {
69 echo -ne "\033[1;36m"
70 echo -n "$1"
71 echo -e "\033[0m"
72 }
73
74 echoCmd() {
75 printf "\033[1;34m%s:\033[0m" "$1"
76 shift
77 printf ' %q' "$@"
78 echo
79 }
80 '';
81
82} // (if builtins.pathExists ./lib/private then import ./lib/private else {})