mirror of
https://github.com/status-im/status-react.git
synced 2025-01-09 18:46:19 +00:00
Jakub Sokołowski
dbe3e0a3f9
Changes: - Simplified `default.nix` and `shell.nix` - Moved the default shell to `nix/shell.nix` - Dropped unnecessary merge from `nix/shells.nix` - Fixed `nix/lib/getConfig.nix` to return default on `null` - Expanded `nix/DETAILS.md` with more info - Added links to presentations in `nix/README.md` - Fixed a few typos Signed-off-by: Jakub Sokołowski <jakub@status.im>
11 lines
254 B
Nix
11 lines
254 B
Nix
# for passing build options, see nix/README.md
|
|
{ config ? { } }:
|
|
|
|
let
|
|
main = import ./nix { inherit config; };
|
|
in {
|
|
# this is where the --attr argument selects the shell or target
|
|
inherit (main) pkgs targets shells;
|
|
inherit (main.pkgs) config;
|
|
}
|