diff options
author | Julien Malka <julien@malka.sh> | 2024-02-26 21:43:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 21:43:23 +0100 |
commit | d882852f8be8ad0f82c1e0c49e284a6f9dc942b3 (patch) | |
tree | 6daa026e22a24614de7b9c8a144216469b852bd8 | |
parent | 4d11de3e801d35a3302c583f1e4b308ae79a4820 (diff) | |
parent | a786cc022728cb7a109d2806942941d53db48bce (diff) |
Merge pull request #291160 from jmbaur/systemd-boot-builder-cross
-rw-r--r-- | nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix index ea4553b8208f6..bc11969f38a8e 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix @@ -49,12 +49,10 @@ let ''; }; - checkedSystemdBootBuilder = pkgs.runCommand "systemd-boot" { - nativeBuildInputs = [ pkgs.mypy ]; - } '' + checkedSystemdBootBuilder = pkgs.runCommand "systemd-boot" { } '' mkdir -p $out/bin install -m755 ${systemdBootBuilder} $out/bin/systemd-boot-builder - mypy \ + ${lib.getExe pkgs.buildPackages.mypy} \ --no-implicit-optional \ --disallow-untyped-calls \ --disallow-untyped-defs \ |