From 914d17e0507b33008b51225c6dd52a843dc5f258 Mon Sep 17 00:00:00 2001 From: K900 Date: Sat, 11 Jan 2025 20:47:19 +0300 Subject: [PATCH] nixos/boot/loader/generic-extlinux-compatible: fix eval on cross as well --- .../system/boot/loader/generic-extlinux-compatible/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix b/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix index dd6cb55c77217..79431ef177368 100644 --- a/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix +++ b/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix @@ -12,7 +12,7 @@ let # The builder used to write during system activation builder = import ./extlinux-conf-builder.nix { inherit lib pkgs; }; # The builder exposed in populateCmd, which runs on the build architecture - populateBuilder = import ./extlinux-conf-builder.nix { pkgs = pkgs.buildPackages; }; + populateBuilder = import ./extlinux-conf-builder.nix { inherit lib; pkgs = pkgs.buildPackages; }; in { options = {