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
This commit is contained in:
parent
9dfc63b201
commit
e60c7e080d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user