diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:47:15 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:47:15 +0100 |
commit | 47a2a43ad79edea3465f97e6bf307871e1fc5e23 (patch) | |
tree | bbfb2376663614ccad52420d9d2c9aec44c95224 /custom/uucp.nix | |
parent | 2bb81a18aa8a8247c900b762f7fcc9d7e966a1e2 (diff) | |
download | nixos-47a2a43ad79edea3465f97e6bf307871e1fc5e23.tar nixos-47a2a43ad79edea3465f97e6bf307871e1fc5e23.tar.gz nixos-47a2a43ad79edea3465f97e6bf307871e1fc5e23.tar.bz2 nixos-47a2a43ad79edea3465f97e6bf307871e1fc5e23.tar.xz nixos-47a2a43ad79edea3465f97e6bf307871e1fc5e23.zip |
Syntax
Diffstat (limited to 'custom/uucp.nix')
-rw-r--r-- | custom/uucp.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index 2fbba8f9..0e38f4d2 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -208,7 +208,9 @@ in { | |||
208 | text = config.services.uucp.extraSys + "\n" + concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes); | 208 | text = config.services.uucp.extraSys + "\n" + concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes); |
209 | }; | 209 | }; |
210 | 210 | ||
211 | security.wrappers = listToAttrs (map (p: {source = "${pkgs.uucp}/bin/${p}"; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); | 211 | security.wrappers = let |
212 | wrapper = p: { name = p; source = "${pkgs.uucp}/bin/${p}"; owner = "root"; group = "root"; setuid = true; setgid = false; }; | ||
213 | in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); | ||
212 | 214 | ||
213 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { | 215 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { |
214 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { | 216 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { |