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'
This commit is contained in:
Jan Tojnar 2021-08-21 01:24:03 +02:00
parent 7a54b10a8a
commit d7b6c8f591

View file

@ -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;
}