git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/munin: scripts need to be executable in order to build a wrapper

"Builder called die: Cannot wrap /nix/store/XXX-munin-available-plugins/plugin.sh because it is not an executable file" [Bjørn: Keep DRY, quote "$file".]

commite6157451c18f884b37c14a69f585900c0107dccf authorJean-Pierre PRUNARET <jean-pierre+git@prunetwork.fr> dateSat 12 Aug 2017, 22:04 (9 years ago) parent059d722
1 file changed+3−1
nixos/modules/services/monitoring/munin.nix+3−1
nixos/modules/services/monitoring/munin.nix+3−1
@@ -26,7 +26,9 @@ let
2626
2727 for file in $out/*; do
2828 case "$file" in
29− plugin.sh) continue;;
29+ */plugin.sh|*/plugins.history)
30+ chmod +x "$file"
31+ continue;;
3032 esac
3133
3234 # read magic makers from the file