From eec7a6e985424200678afe090922c89457f5e4b8 Mon Sep 17 00:00:00 2001 From: catvayor Date: Fri, 27 Sep 2024 10:17:34 +0200 Subject: [PATCH] fix PS1 --- modules/base.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/base.nix b/modules/base.nix index 0d507a7..5107e1e 100644 --- a/modules/base.nix +++ b/modules/base.nix @@ -4,7 +4,7 @@ { lib, pkgs, config, ...}: let - inherit (lib) mkEnableOption mkOption types isDerivation hasAttr concatStringsSep; + inherit (lib) mkEnableOption mkOption types isDerivation hasAttr concatStringsSep mapAttrsToList; inherit (pkgs.pseudofile) dir symlink; inherit (pkgs.liminix.networking) address interface; inherit (pkgs.liminix.services) bundle; @@ -205,7 +205,7 @@ in { (pkgs.writeScript ".profile" '' PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin export PATH - ${concatStringsSep "\n" (map exportVar config.defaultProfile.environmentVariables)} + ${concatStringsSep "\n" (mapAttrsToList exportVar config.defaultProfile.environmentVariables)} ''); in dir { inherit profile;