From 96c8a9a417bf005d0764421c0e937079d9ad035e Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Thu, 18 Apr 2024 23:32:31 +0200 Subject: [PATCH] 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. --- flake.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/flake.nix b/flake.nix index 15aa8d3b5..5352aced9 100644 --- a/flake.nix +++ b/flake.nix @@ -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