summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-27 13:38:12 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-27 13:38:12 +0200
commite2e44280a6fa71754a0d63589f6c49c475b420bb (patch)
tree4d251fd982f630148d3987fbd4f84cddeda51c6a /custom
parentd81bb05c4c9aebf3c161616c46da6b9d5b16048c (diff)
downloadnixos-e2e44280a6fa71754a0d63589f6c49c475b420bb.tar
nixos-e2e44280a6fa71754a0d63589f6c49c475b420bb.tar.gz
nixos-e2e44280a6fa71754a0d63589f6c49c475b420bb.tar.bz2
nixos-e2e44280a6fa71754a0d63589f6c49c475b420bb.tar.xz
nixos-e2e44280a6fa71754a0d63589f6c49c475b420bb.zip
rmail in pkgs
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp.nix12
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}