From d7b6c8f59197c5b5a0f8a8ea077538372992d7ef Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Sat, 21 Aug 2021 01:24:03 +0200 Subject: nix develop: Fix `devShells` lookup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It currently fails with the following error: error: flake 'git+file://…' does not provide attribute 'devShells.x86_64-linuxhaskell', 'packages.x86_64-linux.haskell', 'legacyPackages.x86_64-linux.haskell' or 'haskell' --- src/nix/develop.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nix/develop.cc b/src/nix/develop.cc index 55023545d..c823f16c8 100644 --- a/src/nix/develop.cc +++ b/src/nix/develop.cc @@ -330,7 +330,7 @@ struct Common : InstallableCommand, MixProfile Strings getDefaultFlakeAttrPathPrefixes() override { auto res = SourceExprCommand::getDefaultFlakeAttrPathPrefixes(); - res.emplace_front("devShells." + settings.thisSystem.get()); + res.emplace_front("devShells." + settings.thisSystem.get() + "."); return res; } -- cgit v1.2.3