Unverified Commit fc096a6d authored by Bobby Rong's avatar Bobby Rong
Browse files

nixosTests.gnome-flashback: Fix eval

The option `nodes.machine.environment.variables.XDG_CONFIG_DIRS' is defined multiple times while it's expected to be unique.
parent 7131f3c2
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -307,10 +307,9 @@ in
        gnome-flashback
      ] ++ map gnome-flashback.mkSystemdTargetForWm flashbackWms;

      # gnome-panel needs these for menu applet
      environment.sessionVariables.XDG_DATA_DIRS = [ "${pkgs.gnome.gnome-flashback}/share" ];
      # TODO: switch to sessionVariables (resolve conflict)
      environment.variables.XDG_CONFIG_DIRS = [ "${pkgs.gnome.gnome-flashback}/etc/xdg" ];
      environment.systemPackages = with pkgs.gnome; [
        gnome-flashback
      ];
    })

    (mkIf serviceCfg.core-os-services.enable {