treewide: set shebang for bash scripts
These scripts previously failed when called with syscalls like `execve` (used by, e.g., Python's `subprocess.run`) that use no default interpreter for scripts without a shebang.
This commit is contained in:
parent
a576fa3afe
commit
0447c5bacb
7 changed files with 8 additions and 8 deletions
|
|
@ -265,7 +265,7 @@ let
|
|||
cli = mkOption {
|
||||
readOnly = true;
|
||||
type = types.package;
|
||||
default = pkgs.writeScriptBin "bitcoin-cli" ''
|
||||
default = pkgs.writers.writeBashBin "bitcoin-cli" ''
|
||||
exec ${cfg.package}/bin/bitcoin-cli -datadir='${cfg.dataDir}' "$@"
|
||||
'';
|
||||
defaultText = "(See source)";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue