2019-11-29 11:20:08 +01:00
|
|
|
{
|
2020-01-13 15:28:40 +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
|
|
|
|
|
}:
|
2019-04-03 13:06:42 +02:00
|
|
|
|
|
|
|
|
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
|