microvm-host: add syntax highlighting
This commit is contained in:
parent
d7df2578ea
commit
01c0a4f3b3
|
@ -42,7 +42,7 @@
|
||||||
};
|
};
|
||||||
path = with pkgs; [ zfs ];
|
path = with pkgs; [ zfs ];
|
||||||
scriptArgs = "%i";
|
scriptArgs = "%i";
|
||||||
script = ''
|
script = /* bash */ ''
|
||||||
zfsExists() {
|
zfsExists() {
|
||||||
zfs list $1 >/dev/null 2>/dev/null
|
zfs list $1 >/dev/null 2>/dev/null
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@
|
||||||
environment.systemPackages = [ (
|
environment.systemPackages = [ (
|
||||||
# Provide a manual updating script that fetches the latest
|
# Provide a manual updating script that fetches the latest
|
||||||
# updated+built system from Hydra
|
# updated+built system from Hydra
|
||||||
pkgs.writeScriptBin "update-microvm" ''
|
pkgs.writeScriptBin "update-microvm" /* bash */ ''
|
||||||
#! ${pkgs.runtimeShell} -e
|
#! ${pkgs.runtimeShell} -e
|
||||||
|
|
||||||
if [ $# -lt 1 ]; then
|
if [ $# -lt 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user