Skip to content
Snippets Groups Projects

Set `NIX_PATH` in `shellHook` of `shell.nix`.

Merged Tom Prince requested to merge tomprince/PrivateStorageio:shell-hook into develop

If nix-shell is run interactively on NixOS, in way that has loaded /etc/profile (for example docker exec <container> nix-shell), then /etc/profile will be sourced in the shell that nix-shell starts. That overwrites the NIX_PATH set by shell.nix.

If we instead set NIX_PATH in the the shellHook, that always takes precedence.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading