Nix expr: Fix nix-shell when dev build uses a different SDK to latest

This commit is contained in:
James Groom 2024-02-13 06:34:31 +10:00 committed by GitHub
parent 86684b6893
commit b1a684fd7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -38,4 +38,7 @@
(lib.mapAttrs (_: asms: lib.traceIf (lib.hasSuffix "-bin" asms.name) "the attr specified packages BizHawk from release artifacts; some builddeps may be missing from this shell"
f asms))
];
in shells // shells.emuhawk-latest
in shells // mkShell {
packages = [ avail.emuhawk.hawkSourceInfo.dotnet-sdk ];
inputsFrom = [ shells.emuhawk-latest ]; # this is the intended way to `override` a shell env.
}