fix: i do not know how to do nix ok?
Some checks failed
build liminix / build_zyxel-nwa50ax_mips (push) Has been cancelled
build liminix / test_hostapd (push) Has been cancelled
build liminix / build_vm_qemu_mips (push) Has been cancelled
build liminix / test_shell_customization (push) Has been cancelled

it's in bin/, not in $out/ simply.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-12-09 00:15:07 +01:00
parent 9f9ade29f4
commit 92594b3b64

View file

@ -207,8 +207,8 @@ extraPkgs // {
${(old.postInstall or "")} ${(old.postInstall or "")}
non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa") 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" echo "Removing unnecessary binary $out/bin/$needless_binary"
rm "$out/$needless_binary" rm "$out/bin/$needless_binary"
done done
''; '';
}); });