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:
Robert Hensing 2024-04-18 23:32:31 +02:00
parent 8f042a5e6d
commit 96c8a9a417

View file

@ -430,6 +430,7 @@
let
modular = devFlake.getSystem stdenv.buildPlatform.system;
in {
pname = "shell-for-" + attrs.pname;
installFlags = "sysconfdir=$(out)/etc";
shellHook = ''
PATH=$prefix/bin:$PATH