diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp.nix | 12 |
1 files 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 { | |||
168 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { | 168 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { |
169 | configureFlags = "--with-newconfigdir=/etc/uucp"; | 169 | configureFlags = "--with-newconfigdir=/etc/uucp"; |
170 | }); | 170 | }); |
171 | }; | 171 | rmail = stdenv.mkDerivation { |
172 | |||
173 | environment.systemPackages = with pkgs; [ | ||
174 | uucp | ||
175 | (stdenv.mkDerivation { | ||
176 | name = "rmail"; | 172 | name = "rmail"; |
177 | src = pkgs.writeScript "rmail" '' | 173 | src = pkgs.writeScript "rmail" '' |
178 | #!${pkgs.stdenv.shell} | 174 | #!${pkgs.stdenv.shell} |
@@ -193,7 +189,11 @@ in { | |||
193 | mkdir -p $out/bin | 189 | mkdir -p $out/bin |
194 | ln -s ${src} $out/bin/rmail | 190 | ln -s ${src} $out/bin/rmail |
195 | ''; | 191 | ''; |
196 | }) | 192 | }; |
193 | }; | ||
194 | |||
195 | environment.systemPackages = with pkgs; [ | ||
196 | uucp | ||
197 | ]; | 197 | ]; |
198 | }; | 198 | }; |
199 | } | 199 | } |