From e60c7e080d3ab7009548c7d5aebe1cfede908c6f Mon Sep 17 00:00:00 2001 From: Jade Lovelace Date: Wed, 29 May 2024 02:46:54 -0700 Subject: nixos/systemd-boot-builder: remove workaround for 10 year old Nix bug This was originally introduced in 9245516b46a64316f1d7b0622ff12519, which reveals it is a workaround for a Nix bug from 10 years ago that was *fixed* 10 years ago. References: https://github.com/NixOS/nix/pull/425 https://github.com/NixOS/nixpkgs/issues/5494 --- nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos') 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() -- cgit 1.4.1