From c744ef8c17f39888a2a11c7a304cc6e869e347aa Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Fri, 14 Apr 2023 23:19:56 +0100 Subject: [PATCH] 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 --- pkgs/systemconfig/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/systemconfig/default.nix b/pkgs/systemconfig/default.nix index 9ab33e7a..fff53e34 100644 --- 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 =