https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
7 lines
140 B
Nix
7 lines
140 B
Nix
{ pkgs ? import ../../../.. {} }:
|
|
pkgs.mkShell {
|
|
nativeBuildInputs = [
|
|
pkgs.nodePackages.node2nix
|
|
pkgs.nix-prefetch-github
|
|
];
|
|
}
|