Skip to content

Commit

Permalink
fix: fallback to $HOME/.loca/share when $XDG_DATA_HOME is not set
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow committed Sep 6, 2024
1 parent 880e4b8 commit ff65770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
});

packages = forAllSystems (pkgs: let
affinityPath = "$XDG_DATA_HOME/affinity/";
affinityPath = "$([[ -z \"$XDG_DATA_HOME\" ]] && echo \"$HOME/.local/share/affinity\" || echo \"$XDG_DATA_HOME/affinity\")";
symlink = pkgs.callPackage ./symlink.nix {};

wineUnstable =
Expand Down

0 comments on commit ff65770

Please sign in to comment.