summaryrefslogtreecommitdiff
path: root/modules/system
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-10-07 12:39:47 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-10-07 12:41:33 +0200
commite8355cdd938c85b86024d22bd44ed7e3c939e17b (patch)
tree024a3754d1494e3a29ba937e31d09e4715338ce2 /modules/system
parenta8b47702751e5f53448c65ba1655747a88714445 (diff)
system-build: change type of setEnvironment and setAliases
On NixOS system.build.setEnvironment also is a writeText
Diffstat (limited to 'modules/system')
-rw-r--r--modules/system/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/default.nix b/modules/system/default.nix
index 2d0e750..16018fe 100644
--- a/modules/system/default.nix
+++ b/modules/system/default.nix
@@ -20,6 +20,7 @@ in
system.build = mkOption {
internal = true;
+ type = types.attrsOf types.package;
default = {};
description = ''
Attribute set of derivation used to setup the system.