diff options
author | nicoo <nicoo@debian.org> | 2024-04-30 15:56:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 15:56:27 +0000 |
commit | d8e31f66170f106c559e7021f1dfcc71b58fab94 (patch) | |
tree | 251c44e34b55a14c16f0f8a5576e58ecb93df96e /nixos/modules | |
parent | 5337efe8d096e737e3def1ba7635f87d6fe71c94 (diff) |
nixos/systemd-boot: Avoid remote mypy executions (#263397)
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix | 4 |
1 files changed, 3 insertions, 1 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 02540c362d318..cee8663f0040e 100644 --- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix +++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix @@ -10,7 +10,9 @@ let # We check the source code in a derivation that does not depend on the # system configuration so that most users don't have to redo the check and require # the necessary dependencies. - checkedSource = pkgs.runCommand "systemd-boot" { } '' + checkedSource = pkgs.runCommand "systemd-boot" { + preferLocalBuild = true; + } '' install -m755 -D ${./systemd-boot-builder.py} $out ${lib.getExe pkgs.buildPackages.mypy} \ --no-implicit-optional \ |