1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-01-31 03:26:13 +00:00
discover/shell.nix
Jakub Sokołowski bb1af59414
add shell.nix file to define build environment
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-10-13 09:32:40 +02:00

18 lines
288 B
Nix

{ pkgs ? import <nixpkgs> {
config.permittedInsecurePackages = [ "nodejs-12.22.12" ];
} }:
pkgs.mkShell {
name = "discover-build";
buildInputs = with pkgs; [
git
zip
python2
nodejs-12_x
(yarn.override { nodejs = nodejs-12_x; })
];
NODE_NO_WARNINGS = 1;
}