about summary refs log tree commit diff
path: root/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
diff options
context:
space:
mode:
authorK900 <me@0upti.me>2024-05-01 09:37:47 +0300
committerK900 <me@0upti.me>2024-05-01 09:37:47 +0300
commita9c7210d0b6d3b17f3b060c5f979f7e88ec94a97 (patch)
treeef03637bff6d8215cc904425c8b59499174c90ad /nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
parent09b96cbb7ac9489b9e7e6546bced869b90744344 (diff)
parent28496bb2c5a6f90329a00e41c3787eec2b6be1b4 (diff)
Merge branch 'master' into staging-next
Diffstat (limited to 'nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix')
-rw-r--r--nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix4
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 \