From a3eb56c4fc73da93d42c9298cc94aafffca0bd37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Tue, 28 May 2019 00:34:01 +0200 Subject: Remove private specificities from pure-ftpd package and lib --- lib/default.nix | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'lib') 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 { makeWrapper "$f" "$out" ${toString args} ''; - # This adds header colors to the builds, but it rebuilds the whole - # world from scratch, so only use it to debug! - # add it as postHook in derivations - immaePostHook = '' - header() { - echo -ne "\033[1;36m" - echo -n "$1" - echo -e "\033[0m" - } - - echoCmd() { - printf "\033[1;34m%s:\033[0m" "$1" - shift - printf ' %q' "$@" - echo - } - ''; - -} // (if builtins.pathExists ./lib/private then import ./lib/private else {}) +} // (if builtins.pathExists ./private then callPackage ./private {} else {}) -- cgit v1.2.3