summaryrefslogtreecommitdiff
path: root/modules/programs/bash.nix
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/programs/bash.nix
parenta8b47702751e5f53448c65ba1655747a88714445 (diff)
system-build: change type of setEnvironment and setAliases
On NixOS system.build.setEnvironment also is a writeText
Diffstat (limited to 'modules/programs/bash.nix')
-rw-r--r--modules/programs/bash.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/programs/bash.nix b/modules/programs/bash.nix
index 0c2ce6d..dc58af4 100644
--- a/modules/programs/bash.nix
+++ b/modules/programs/bash.nix
@@ -73,8 +73,8 @@ in
__ETC_BASHRC_SOURCED=1
export PATH=${config.environment.systemPath}
- ${config.system.build.setEnvironment}
- ${config.system.build.setAliases}
+ ${config.system.build.setEnvironment.text}
+ ${config.system.build.setAliases.text}
${config.environment.interactiveShellInit}
${cfg.interactiveShellInit}