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:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user