Skip to content

Commit

Permalink
nixos/systemd-boot: Avoid remote mypy executions (#263397)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbraud committed Apr 30, 2024
1 parent 5337efe commit d8e31f6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit d8e31f6

Please sign in to comment.