mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 22:19:17 +03:00
nixos/systemd-boot-builder: remove workaround for 10 year old Nix bug
This was originally introduced in 9245516b46
,
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
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue