commit c744ef8c17f39888a2a11c7a304cc6e869e347aa
parent fb796e61e04b6e75f60e2f00043d3aece5c4692f
Author: Daniel Barlow <dan@telent.net>
Date: Fri, 14 Apr 2023 23:19:56 +0100
systemconfig: accept uid and gid options
all we do with them is assert they're zero, to unbreak CI.
This code is getting rewritten anyway
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/pkgs/systemconfig/default.nix b/pkgs/systemconfig/default.nix
@@ -25,7 +25,11 @@ let
, file ? null
, major ? null
, minor ? null
+ , uid ? 0
+ , gid ? 0
}:
+ assert uid == 0;
+ assert gid == 0;
let
pathname = "${prefix}/${filename}";
chmod =