diff --git a/rizin-with-plugin-support.nix b/rizin-with-plugin-support.nix index 00bbb02..18abb2d 100644 --- a/rizin-with-plugin-support.nix +++ b/rizin-with-plugin-support.nix @@ -13,7 +13,7 @@ let buildInputs = [makeWrapper]; postBuild = '' wrapProgramArgs=() - for plugin in ${plugins_path}/lib/rizin/plugins/*; do + for plugin in $(find -L lib/rizin/plugins -type f -executable); do wrapProgramArgs+=("--add-flags") wrapProgramArgs+=("-l") wrapProgramArgs+=("--add-flags")