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>
8 lines
165 B
Nix
8 lines
165 B
Nix
{ stdenv, pkgs }:
|
|
|
|
let
|
|
nodePackages = import ./node-packages.nix {
|
|
inherit pkgs;
|
|
inherit (stdenv.hostPlatform) system;
|
|
};
|
|
in nodePackages.base16-builder
|