summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2019-05-04 21:43:39 +0200
committerDaiderd Jordan <daiderd@gmail.com>2019-05-04 21:43:47 +0200
commit3ba909eb2dd3ddd893604f83048fa76cc2e47e74 (patch)
tree19f5efdcbf289750a812a3c5c688a52adb288e6c /modules
parent61d81e7706eeda9087e814c40e4cefdcc23c91e8 (diff)
version: add default darwinRevision
There's no channel for darwin so this can be unavailable if a tarball or shallow clone is used.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/version.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/version.nix b/modules/system/version.nix
index 190b293..abddf80 100644
--- a/modules/system/version.nix
+++ b/modules/system/version.nix
@@ -62,6 +62,7 @@ in
system.darwinRevision = mkOption {
internal = true;
type = types.str;
+ default = "master";
description = "The darwin git revision from which this configuration was built.";
};