mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
devShells: Prefix shell-for-
Without this, it's not clear from an error trace that it's the shell that's evaluated. It would look like evaluating the nix package.
This commit is contained in:
parent
8f042a5e6d
commit
96c8a9a417
1 changed files with 1 additions and 0 deletions
|
@ -430,6 +430,7 @@
|
||||||
let
|
let
|
||||||
modular = devFlake.getSystem stdenv.buildPlatform.system;
|
modular = devFlake.getSystem stdenv.buildPlatform.system;
|
||||||
in {
|
in {
|
||||||
|
pname = "shell-for-" + attrs.pname;
|
||||||
installFlags = "sysconfdir=$(out)/etc";
|
installFlags = "sysconfdir=$(out)/etc";
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
PATH=$prefix/bin:$PATH
|
PATH=$prefix/bin:$PATH
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue