From b1a684fd7fc3139222e1395641ce3690beea2aee Mon Sep 17 00:00:00 2001 From: James Groom Date: Tue, 13 Feb 2024 06:34:31 +1000 Subject: [PATCH] Nix expr: Fix nix-shell when dev build uses a different SDK to latest --- shell.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index f036cc0192..09e3bd5882 100644 --- a/shell.nix +++ b/shell.nix @@ -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. +}