Merge pull request #750 from whs-dot-hk/fix-writer

Fix writeDashBin
This commit is contained in:
lassulus 2024-08-27 16:39:32 +02:00 committed by GitHub
commit b89a61129f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -73,7 +73,7 @@ let
}).config.system.build.vm; }).config.system.build.vm;
in in
{ {
pure = pkgs.writeDashBin "disko-vm" '' pure = pkgs.writers.writeDashBin "disko-vm" ''
set -efux set -efux
export tmp=$(mktemp -d) export tmp=$(mktemp -d)
trap 'rm -rf "$tmp"' EXIT trap 'rm -rf "$tmp"' EXIT