Files
status-react/shell.nix
T

12 lines
402 B
Nix
Raw Normal View History

2019-11-29 11:20:08 +01:00
{
config ? { }, # for passing build options, see nix/README.md
2019-11-29 11:20:08 +01:00
target ? "default" # see nix/shells.nix for all valid values
}:
let
2019-11-29 11:20:08 +01:00
project = import ./default.nix { inherit config; };
in
# this is where the $TARGET env variable affects things
project.pkgs.mergeSh project.shells.default [ project.shells.${target} ]
# combining with default shell to include all the standard utilities