summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp.nix10
1 files changed, 1 insertions, 9 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 2db1e3f8..ef10c3ca 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -168,9 +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 rmail = stdenv.mkDerivation { 171 rmail = pkgs.writeScriptBin "rmail" ''
172 name = "rmail";
173 src = pkgs.writeScript "rmail" ''
174 #!${pkgs.stdenv.shell} 172 #!${pkgs.stdenv.shell}
175 173
176 # Dummy UUCP rmail command for postfix/qmail systems 174 # Dummy UUCP rmail command for postfix/qmail systems
@@ -184,12 +182,6 @@ in {
184 182
185 exec /var/setuid-wrappers/sendmail -i -f "$from" -- "$@" 183 exec /var/setuid-wrappers/sendmail -i -f "$from" -- "$@"
186 ''; 184 '';
187 builder = pkgs.writeScript "builder" ''
188 #!${stdenv.shell}
189 mkdir -p $out/bin
190 ln -s $src $out/bin/rmail
191 '';
192 };
193 }; 185 };
194 186
195 environment.systemPackages = with pkgs; [ 187 environment.systemPackages = with pkgs; [