forked from mirrors/nixpkgs
nixos/plotinus: fix evaluation
Apparently setting a variable via `environment.variables` when the same is already present in `environment.sessionVariables` (that is merged into the former option) creates a conflict. For reference: this started with the change in #101274.
This commit is contained in:
parent
a8576d4053
commit
22d05f8fa2
|
@ -30,7 +30,7 @@ in
|
|||
###### implementation
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.variables.XDG_DATA_DIRS = [ "${pkgs.plotinus}/share/gsettings-schemas/${pkgs.plotinus.name}" ];
|
||||
environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.plotinus}/share/gsettings-schemas/${pkgs.plotinus.name}" ];
|
||||
environment.variables.GTK3_MODULES = [ "${pkgs.plotinus}/lib/libplotinus.so" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue