Comments (1)
I suspect that this is due to the .nix-profile
and /nix/var/nix/profiles
entries being set in your .bashrc
rather than your .profile
(by sourcing the Nix profile script in it).
nix shell
opens a new shell (and thus sources .bashrc
), so if that's the case, there's nothing that Nix can do to prevent the profile links to be prepended to $PATH
.
Is that the case?
from nix.
Related Issues (20)
- Missing user profile directory on a fresh Nix install
- Format error when talking to newer daemon with older client HOT 2
- `coerceToString` can overflow the stack, the bad way HOT 4
- nix-shell no longer respects NIX_PATH HOT 3
- "/var is a symlink" error on macOS when using `nix-env -iA` under root HOT 1
- nix flake {update,metadata,...}: shows input's narHash
- Allow nix store path other than `/nix` without hacky workarounds during installation HOT 8
- nix-prefetch-url seems to uncompress archive if `content-encode: gzip` is set HOT 2
- Failed install nix on Macbook Pro 2016 MacOS Monterey HOT 3
- Document the performance report in sufficient detail (`NIX_SHOW_STATS=1`)
- Failed to upgrade Nix package manager [Ubuntu]
- Flake-less per-project `nixConfig` HOT 3
- Error when installing nix in Ubuntu 22.04 Toolbox container HOT 1
- Feature request: nix repl `:pos` command
- unexpected result due to paths stripping trailing / HOT 3
- Output of `print-dev-env` has a syntax error HOT 4
- nix repl --help shows some raw html HOT 1
- Nix 2.21 fails to build flakes when using `--store` HOT 2
- ^R does not properly clear line
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.