forked from c3d2/nix-config
microvm-host: add syntax highlighting
This commit is contained in:
parent
d7df2578ea
commit
01c0a4f3b3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user