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 0ae99f91..e1e59f84 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -305,11 +305,11 @@ in { | |||
305 | }; | 305 | }; |
306 | in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); | 306 | in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); |
307 | 307 | ||
308 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { | 308 | nixpkgs.config.overlays = [(self: super: { |
309 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { | 309 | uucp = super.stdenv.lib.overrideDerivation super.uucp (oldAttrs: { |
310 | configureFlags = "--with-newconfigdir=/etc/uucp"; | 310 | configureFlags = "--with-newconfigdir=/etc/uucp"; |
311 | patches = [ | 311 | patches = [ |
312 | (pkgs.writeText "mailprogram" '' | 312 | (super.writeText "mailprogram" '' |
313 | policy.h | 2 +- | 313 | policy.h | 2 +- |
314 | 1 file changed, 1 insertion(+), 1 deletion(-) | 314 | 1 file changed, 1 insertion(+), 1 deletion(-) |
315 | 315 | ||
@@ -329,8 +329,8 @@ in { | |||
329 | '') | 329 | '') |
330 | ]; | 330 | ]; |
331 | }); | 331 | }); |
332 | rmail = pkgs.writeScriptBin "rmail" '' | 332 | rmail = super.writeScriptBin "rmail" '' |
333 | #!${pkgs.stdenv.shell} | 333 | #!${super.stdenv.shell} |
334 | 334 | ||
335 | # Dummy UUCP rmail command for postfix/qmail systems | 335 | # Dummy UUCP rmail command for postfix/qmail systems |
336 | 336 | ||
@@ -343,7 +343,7 @@ in { | |||
343 | 343 | ||
344 | exec ${config.security.wrapperDir}/sendmail -G -i -f "$from" -- "$@" | 344 | exec ${config.security.wrapperDir}/sendmail -G -i -f "$from" -- "$@" |
345 | ''; | 345 | ''; |
346 | }; | 346 | })]; |
347 | 347 | ||
348 | environment.systemPackages = with pkgs; [ | 348 | environment.systemPackages = with pkgs; [ |
349 | uucp | 349 | uucp |