Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old nix command line now supports XDG #322

Merged
merged 1 commit into from
Oct 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions programs/nix.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@
{
"path": "$HOME/.nix-channels",
"movable": false,
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-channels\" \"$XDG_STATE_HOME/nix/channels\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
},
{
"path": "$HOME/.nix-defexpr",
"movable": false,
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-defexpr\" \"$XDG_STATE_HOME/nix/defexpr\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
},
{
"path": "$HOME/.nix-profile",
"movable": false,
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\n_Relevant Issue_: https://github.com/NixOS/nix/issues/1079\n\n"
"help": "New nix command line interface supports XDG Base Directory but Old Commands will still create these directories.\n\nTo use the XDG spec with the old command line, add to `/etc/nix/nix.conf`:\n\n```use-xdg-base-directories = true```\n\nYou also have to manually move the the file to __XDG_STATE_HOME__:\n\n```mv \"$HOME/.nix-profile\" \"$XDG_STATE_HOME/nix/profile\"```\n\n_See the Manual_: https://nixos.org/manual/nix/stable/command-ref/conf-file#conf-use-xdg-base-directories\n\n"
}
]
}
Loading