summaryrefslogtreecommitdiff
path: root/custom/uucp.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-12-23 17:03:47 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-12-23 17:03:47 +0100
commit1cf9acea1a6dba7b896c0426f54be50d9611cb51 (patch)
tree1c9c7507d2834e59867765937354041dd47c13b9 /custom/uucp.nix
parent7bdd33d2bd523d9d97e124550d14af23be9fd08d (diff)
downloadnixos-1cf9acea1a6dba7b896c0426f54be50d9611cb51.tar
nixos-1cf9acea1a6dba7b896c0426f54be50d9611cb51.tar.gz
nixos-1cf9acea1a6dba7b896c0426f54be50d9611cb51.tar.bz2
nixos-1cf9acea1a6dba7b896c0426f54be50d9611cb51.tar.xz
nixos-1cf9acea1a6dba7b896c0426f54be50d9611cb51.zip
...
Diffstat (limited to 'custom/uucp.nix')
-rw-r--r--custom/uucp.nix11
1 files changed, 1 insertions, 10 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index d8f1569f..132522b4 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -294,15 +294,6 @@ in {
294 }; 294 };
295 295
296 security.wrappers = let 296 security.wrappers = let
297 wrapper = p: { name = p;
298 value = {
299 source = "${pkgs.uucp}/bin/${p}";
300 owner = "root";
301 group = "root";
302 setuid = true;
303 setgid = false;
304 };
305 };
306 niceWrapper = p: { 297 niceWrapper = p: {
307 name = p; 298 name = p;
308 value = { 299 value = {
@@ -317,7 +308,7 @@ in {
317 setgid = false; 308 setgid = false;
318 }; 309 };
319 }; 310 };
320 in listToAttrs (map wrapper ["uucico" "cu" "uucp" "uuname" "uustat"]) // listToAttrs (map niceWrapper ["uux" "uuxqt"]); 311 in listToAttrs (map niceWrapper ["uucico" "cu" "uucp" "uuname" "uustat"]);
321 312
322 nixpkgs.overlays = [(self: super: { 313 nixpkgs.overlays = [(self: super: {
323 uucp = super.stdenv.lib.overrideDerivation super.uucp (oldAttrs: { 314 uucp = super.stdenv.lib.overrideDerivation super.uucp (oldAttrs: {