diff options
Diffstat (limited to 'custom/uucp.nix')
-rw-r--r-- | custom/uucp.nix | 11 |
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: { |