microvm-host: add syntax highlighting

This commit is contained in:
Sandro - 2024-01-06 14:01:13 +01:00
parent d7df2578ea
commit 01c0a4f3b3
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@
};
path = with pkgs; [ zfs ];
scriptArgs = "%i";
script = ''
script = /* bash */ ''
zfsExists() {
zfs list $1 >/dev/null 2>/dev/null
}
@ -74,7 +74,7 @@
environment.systemPackages = [ (
# Provide a manual updating script that fetches the latest
# updated+built system from Hydra
pkgs.writeScriptBin "update-microvm" ''
pkgs.writeScriptBin "update-microvm" /* bash */ ''
#! ${pkgs.runtimeShell} -e
if [ $# -lt 1 ]; then