summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1.nix
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2019-04-06 04:35:43 +0200
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2019-04-18 15:02:51 +0200
commit5d2bb3d715e524832864fc7c279aaeb181a55627 (patch)
tree1489fd2e5a00a86fec8be4fa55ba78f27bddac7f /nixos/modules/system/boot/stage-1.nix
parent93d1127734fb260e4e509ae30b11061b26d12870 (diff)
downloadnixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar.gz
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar.bz2
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar.lz
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar.xz
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.tar.zst
nixpkgs-5d2bb3d715e524832864fc7c279aaeb181a55627.zip
nixos/stage-1: "find-libs" shell script is for the host
Diffstat (limited to 'nixos/modules/system/boot/stage-1.nix')
-rw-r--r--nixos/modules/system/boot/stage-1.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 8702abd3df8..788e3f4a2ab 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -32,7 +32,7 @@ let
   fileSystems = filter utils.fsNeededForBoot config.system.build.fileSystems;
 
   # A utility for enumerating the shared-library dependencies of a program
-  findLibs = pkgs.writeShellScriptBin "find-libs" ''
+  findLibs = pkgs.buildPackages.writeShellScriptBin "find-libs" ''
     set -euo pipefail
 
     declare -A seen