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".]
This commit is contained in:
parent
059d722e5c
commit
e6157451c1
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ let
|
|||
|
||||
for file in $out/*; do
|
||||
case "$file" in
|
||||
plugin.sh) continue;;
|
||||
*/plugin.sh|*/plugins.history)
|
||||
chmod +x "$file"
|
||||
continue;;
|
||||
esac
|
||||
|
||||
# read magic makers from the file
|
||||
|
|
Loading…
Reference in a new issue