mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 21:21:06 +00:00
15 lines
386 B
Nix
15 lines
386 B
Nix
{system ? builtins.currentSystem, pkgs ? import <nixpkgs> {
|
|
inherit system;
|
|
}, overrides ? {}}:
|
|
|
|
let
|
|
nodeEnv = import ./node-env.nix {
|
|
inherit (pkgs) stdenv fetchurl nodejs python utillinux runCommand;
|
|
};
|
|
registry = (import ./registry.nix {
|
|
inherit (nodeEnv) buildNodePackage;
|
|
inherit (pkgs) fetchurl fetchgit;
|
|
self = registry;
|
|
}) // overrides;
|
|
in
|
|
registry |