Skip to content

Commit

Permalink
nixos/systemd-boot-builder: remove workaround for 10 year old Nix bug
Browse files Browse the repository at this point in the history
This was originally introduced in 9245516,
which reveals it is a workaround for a Nix bug from 10 years ago that
was *fixed* 10 years ago.

References:
NixOS/nix#425
#5494
  • Loading branch information
lf- committed May 29, 2024
1 parent 9dfc63b commit e60c7e0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e60c7e0

Please sign in to comment.