about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJade Lovelace <software@lfcode.ca>2024-05-29 13:05:01 -0600
committerGitHub <noreply@github.com>2024-05-29 13:05:01 -0600
commit83eba84f9ecfa9e22b50e162451d97f4c19b7161 (patch)
tree1e6006d2f898caa6c3df146751c38886c785b06d /nixos
parentf7a63cf975cc66559d5f488ffe6367c987a79826 (diff)
parente60c7e080d3ab7009548c7d5aebe1cfede908c6f (diff)
Merge pull request #315580 from lf-/jade/remove-old-nix-workaround
tree-wide: remove --build-users-group '' workaround for 10 year old Nix bug
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
index 03bff1dee5b9d..694d34d1c059a 100644
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
@@ -196,8 +196,7 @@ def get_generations(profile: str | None = None) -> list[SystemIdentifier]:
         f"{NIX}/bin/nix-env",
         "--list-generations",
         "-p",
-        "/nix/var/nix/profiles/%s" % ("system-profiles/" + profile if profile else "system"),
-        "--option", "build-users-group", ""],
+        "/nix/var/nix/profiles/%s" % ("system-profiles/" + profile if profile else "system")],
         universal_newlines=True)
     gen_lines = gen_list.split('\n')
     gen_lines.pop()