diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2018-11-08 11:59:03 +0100 |
---|---|---|
committer | nix-review <nix-review@example.com> | 2019-02-22 20:11:27 +0100 |
commit | a915b33315946b9e7d164d57812ee16172ad65df (patch) | |
tree | c87f6d3bb162737257923a6d917f72f6db77bb45 /nixos/modules/services/mail/opensmtpd.nix | |
parent | 2a81eceeba6d9b0499c0a9dc569921765321cdd0 (diff) | |
download | nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar.gz nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar.bz2 nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar.lz nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar.xz nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.tar.zst nixpkgs-a915b33315946b9e7d164d57812ee16172ad65df.zip |
nixos: add preferLocalBuild=true; on derivations for config files
Diffstat (limited to 'nixos/modules/services/mail/opensmtpd.nix')
-rw-r--r-- | nixos/modules/services/mail/opensmtpd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/mail/opensmtpd.nix b/nixos/modules/services/mail/opensmtpd.nix index 4276552d4f0..a870550ba50 100644 --- a/nixos/modules/services/mail/opensmtpd.nix +++ b/nixos/modules/services/mail/opensmtpd.nix @@ -8,7 +8,7 @@ let conf = pkgs.writeText "smtpd.conf" cfg.serverConfiguration; args = concatStringsSep " " cfg.extraServerArgs; - sendmail = pkgs.runCommand "opensmtpd-sendmail" {} '' + sendmail = pkgs.runCommand "opensmtpd-sendmail" { preferLocalBuild = true; } '' mkdir -p $out/bin ln -s ${cfg.package}/sbin/smtpctl $out/bin/sendmail ''; |