From e2e44280a6fa71754a0d63589f6c49c475b420bb Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 27 Apr 2016 13:38:12 +0200 Subject: rmail in pkgs --- custom/uucp.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/custom/uucp.nix b/custom/uucp.nix index 6218cc62..5f1e2274 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -168,11 +168,7 @@ in { uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { configureFlags = "--with-newconfigdir=/etc/uucp"; }); - }; - - environment.systemPackages = with pkgs; [ - uucp - (stdenv.mkDerivation { + rmail = stdenv.mkDerivation { name = "rmail"; src = pkgs.writeScript "rmail" '' #!${pkgs.stdenv.shell} @@ -193,7 +189,11 @@ in { mkdir -p $out/bin ln -s ${src} $out/bin/rmail ''; - }) + }; + }; + + environment.systemPackages = with pkgs; [ + uucp ]; }; } -- cgit v1.2.3