From 9f9ade29f418cd1d991135c8b585ae3e68e88781 Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Mon, 9 Dec 2024 00:14:22 +0100 Subject: [PATCH] fix: i do not know how to do bash ok? fix the quoting for the array iteration Signed-off-by: Raito Bezarius --- overlay.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index fde7798..ace3c8f 100644 --- a/overlay.nix +++ b/overlay.nix @@ -206,7 +206,7 @@ extraPkgs // { postInstall = '' ${(old.postInstall or "")} non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa") - for needless_binary in "$non_necessary_binaries[@]"; do + for needless_binary in "''${non_necessary_binaries[@]}"; do echo "Removing unnecessary binary $out/$needless_binary" rm "$out/$needless_binary" done