Commit e60c7e08 authored by Jade Lovelace's avatar Jade Lovelace
Browse files

nixos/systemd-boot-builder: remove workaround for 10 year old Nix bug

This was originally introduced in 9245516b,
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
parent 9dfc63b2
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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()