nixos/systemd-boot: Avoid remote mypy executions (#263397)

This commit is contained in:
nicoo
2024-04-30 15:56:27 +00:00
committed by GitHub
parent 5337efe8d0
commit d8e31f6617

View File

@@ -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 \