diff options
Diffstat (limited to 'system-profiles/core')
| -rw-r--r-- | system-profiles/core/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system-profiles/core/default.nix b/system-profiles/core/default.nix index 258dd32d..58d2fe7c 100644 --- a/system-profiles/core/default.nix +++ b/system-profiles/core/default.nix | |||
| @@ -62,6 +62,9 @@ in { | |||
| 62 | rhs = optCall rhs_ { inherit pkgs; }; | 62 | rhs = optCall rhs_ { inherit pkgs; }; |
| 63 | in | 63 | in |
| 64 | recursiveUpdate lhs rhs // | 64 | recursiveUpdate lhs rhs // |
| 65 | optionalAttrs (lhs ? allowUnfreePackages) { | ||
| 66 | allowUnfreePackages = lhs.allowUnfreePackages ++ (attrByPath [ "allowUnfreePackages" ] [ ] rhs); | ||
| 67 | } // | ||
| 65 | optionalAttrs (lhs ? packageOverrides) { | 68 | optionalAttrs (lhs ? packageOverrides) { |
| 66 | packageOverrides = pkgs: | 69 | packageOverrides = pkgs: |
| 67 | optCall lhs.packageOverrides pkgs // | 70 | optCall lhs.packageOverrides pkgs // |
