mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-09 15:58:05 +02:00
8ebdbeb257
Before this patch, installing Nix using the Fish shell did not work because Fish wasn't configured to add Nix to the PATH. Some options in #1512 offered workarounds, but they typically involve extra plugins or packages. This patch adds native, out-of-the-box support for the Fish shell. Note that Fish supports a `conf.d` directory, which is intended for exactly use cases like this: software projects distributing shell snippets. This patch takes advantage of it. The installer doesn't append any Nix loader behavior to any Fish config file. Because of that, the uninstall process is smooth and a reinstall obliterates the existing nix.fish files that we place instead of bothering the user with a backup / manual removal. Both single-user and multi-user cases are covered. It has been tested on Ubuntu, and a Mac with MacPorts, homebrew, and the Fish installer pkg. Closes #1512 Co-authored-by: Graham Christensen <graham@grahamc.com>
132 lines
2 KiB
Text
132 lines
2 KiB
Text
Makefile.config
|
|
perl/Makefile.config
|
|
|
|
# /
|
|
/aclocal.m4
|
|
/autom4te.cache
|
|
/precompiled-headers.h.gch
|
|
/config.*
|
|
/configure
|
|
/stamp-h1
|
|
/svn-revision
|
|
/libtool
|
|
|
|
# /doc/manual/
|
|
/doc/manual/*.1
|
|
/doc/manual/*.5
|
|
/doc/manual/*.8
|
|
/doc/manual/generated/*
|
|
/doc/manual/nix.json
|
|
/doc/manual/conf-file.json
|
|
/doc/manual/builtins.json
|
|
/doc/manual/src/SUMMARY.md
|
|
/doc/manual/src/command-ref/new-cli
|
|
/doc/manual/src/command-ref/conf-file.md
|
|
/doc/manual/src/language/builtins.md
|
|
|
|
# /scripts/
|
|
/scripts/nix-profile.sh
|
|
/scripts/nix-profile-daemon.sh
|
|
/scripts/nix-profile.fish
|
|
/scripts/nix-profile-daemon.fish
|
|
|
|
# /src/libexpr/
|
|
/src/libexpr/lexer-tab.cc
|
|
/src/libexpr/lexer-tab.hh
|
|
/src/libexpr/parser-tab.cc
|
|
/src/libexpr/parser-tab.hh
|
|
/src/libexpr/parser-tab.output
|
|
/src/libexpr/nix.tbl
|
|
/src/libexpr/tests/libexpr-tests
|
|
|
|
# /src/libstore/
|
|
*.gen.*
|
|
/src/libstore/tests/libstore-tests
|
|
|
|
# /src/libutil/
|
|
/src/libutil/tests/libutil-tests
|
|
|
|
/src/nix/nix
|
|
|
|
# /src/nix-env/
|
|
/src/nix-env/nix-env
|
|
|
|
# /src/nix-instantiate/
|
|
/src/nix-instantiate/nix-instantiate
|
|
|
|
# /src/nix-store/
|
|
/src/nix-store/nix-store
|
|
|
|
/src/nix-prefetch-url/nix-prefetch-url
|
|
|
|
/src/nix-collect-garbage/nix-collect-garbage
|
|
|
|
# /src/nix-channel/
|
|
/src/nix-channel/nix-channel
|
|
|
|
# /src/nix-build/
|
|
/src/nix-build/nix-build
|
|
|
|
/src/nix-copy-closure/nix-copy-closure
|
|
|
|
/src/error-demo/error-demo
|
|
|
|
/src/build-remote/build-remote
|
|
|
|
# /tests/
|
|
/tests/test-tmp
|
|
/tests/common.sh
|
|
/tests/result*
|
|
/tests/restricted-innocent
|
|
/tests/shell
|
|
/tests/shell.drv
|
|
/tests/config.nix
|
|
/tests/ca/config.nix
|
|
/tests/repl-result-out
|
|
|
|
# /tests/lang/
|
|
/tests/lang/*.out
|
|
/tests/lang/*.out.xml
|
|
/tests/lang/*.ast
|
|
|
|
/perl/lib/Nix/Config.pm
|
|
/perl/lib/Nix/Store.cc
|
|
|
|
/misc/systemd/nix-daemon.service
|
|
/misc/systemd/nix-daemon.socket
|
|
/misc/systemd/nix-daemon.conf
|
|
/misc/upstart/nix-daemon.conf
|
|
|
|
/src/resolve-system-dependencies/resolve-system-dependencies
|
|
|
|
outputs/
|
|
|
|
*.a
|
|
*.o
|
|
*.so
|
|
*.dylib
|
|
*.dll
|
|
*.exe
|
|
*.dep
|
|
*~
|
|
*.pc
|
|
*.plist
|
|
|
|
# GNU Global
|
|
GPATH
|
|
GRTAGS
|
|
GSYMS
|
|
GTAGS
|
|
|
|
# ccls
|
|
/.ccls-cache
|
|
|
|
# auto-generated compilation database
|
|
compile_commands.json
|
|
|
|
nix-rust/target
|
|
|
|
result
|
|
|
|
.vscode/
|