aboutsummaryrefslogtreecommitdiff
path: root/src/nix/develop.cc
diff options
context:
space:
mode:
authorJan Tojnar <jtojnar@gmail.com>2021-08-21 01:24:03 +0200
committerJan Tojnar <jtojnar@gmail.com>2021-08-21 01:24:28 +0200
commitd7b6c8f59197c5b5a0f8a8ea077538372992d7ef (patch)
tree5483c6961adfe428d5b648bb11fe15bf651d8d7d /src/nix/develop.cc
parent7a54b10a8a29dadea2bb2c639a15cfec25a4d38c (diff)
nix develop: Fix `devShells` lookup
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'
Diffstat (limited to 'src/nix/develop.cc')
-rw-r--r--src/nix/develop.cc2
1 files changed, 1 insertions, 1 deletions
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;
}