shellcheck: fix the lint warnings for other generated scripts
This commit is contained in:
parent
acd341426a
commit
f3f8d650ab
|
@ -6,8 +6,10 @@ rec {
|
|||
mkVMScript = vm: pkgs.writers.writeBash "run-vm" ''
|
||||
set -euo pipefail
|
||||
export TMPDIR=$(mktemp -d /tmp/nix-bitcoin-vm.XXX)
|
||||
trap "rm -rf $TMPDIR" EXIT
|
||||
trap 'rm -rf $TMPDIR' EXIT
|
||||
export NIX_DISK_IMAGE=$TMPDIR/nixos.qcow2
|
||||
|
||||
# shellcheck disable=SC2211
|
||||
QEMU_OPTS="-smp $(nproc) -m 1500" ${vm}/bin/run-*-vm
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user