summary refs log tree commit diff
diff options
context:
space:
mode:
authorParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:41:39 -0600
committerParnell Springmeyer <parnell@digitalmentat.com>2017-01-29 01:41:39 -0600
commitaf3b9a3d46672232d70e4ab6a45f00e10363bfae (patch)
tree89d7b4a09cb554ae65caae22c482d5b07cc88339
parent48564d1ae56b93a27ca6dc5565f389dfde66831a (diff)
downloadnixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar.gz
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar.bz2
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar.lz
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar.xz
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.tar.zst
nixpkgs-af3b9a3d46672232d70e4ab6a45f00e10363bfae.zip
More wibbles?
-rw-r--r--nixos/modules/security/wrappers/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix
index 28aacb891ee..0170da03689 100644
--- a/nixos/modules/security/wrappers/default.nix
+++ b/nixos/modules/security/wrappers/default.nix
@@ -4,11 +4,11 @@ let
   inherit (config.security) wrapperDir wrappers setuidPrograms;
 
   programs =
-    (map (x: { program = x; owner = "root"; group = "root"; setuid = true; })
-      setuidPrograms)
-      ++ lib.mapAttrsToList
-           (n: v: (if v ? "program" then v else v // {program=n;}))
-           wrappers;
+    (map (x: { program = x; owner = "root"; group = "root"; setuid = true; }) setuidPrograms)
+    ++
+    (lib.mapAttrsToList
+      (n: v: (if v ? "program" then v else v // {program=n;}))
+      wrappers);
 
   mkWrapper = { program, source ? null, ...}: ''
     if ! source=${if source != null then source else "$(readlink -f $(PATH=$WRAPPER_PATH type -tP ${program}))"}; then