diff options
author | Vladimír Čunát <v@cunat.cz> | 2020-08-25 12:40:54 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2020-08-25 12:40:54 +0200 |
commit | 4f157f45f5d9023ae67622bcc7cfd77574796b9c (patch) | |
tree | d600f7b581d168e344f44bd55122275a767a7acf | |
parent | 887e7b60367f2b3bdf01f88c69bdcc270947693e (diff) | |
parent | 27f0ca6670911a42349037ce41de5314dc585d33 (diff) | |
download | nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar.gz nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar.bz2 nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar.lz nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar.xz nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.tar.zst nixpkgs-4f157f45f5d9023ae67622bcc7cfd77574796b9c.zip |
Merge #96259: stage-1 find-libs: initialise an empty array
-rw-r--r-- | nixos/modules/system/boot/stage-1.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix index a04660fb56e..eee510d2c95 100644 --- a/nixos/modules/system/boot/stage-1.nix +++ b/nixos/modules/system/boot/stage-1.nix @@ -36,7 +36,7 @@ let set -euo pipefail declare -A seen - declare -a left + left=() patchelf="${pkgs.buildPackages.patchelf}/bin/patchelf" @@ -48,7 +48,7 @@ let done } - add_needed $1 + add_needed "$1" while [ ''${#left[@]} -ne 0 ]; do next=''${left[0]} |