mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-15 12:15:56 +01:00
This just moves things around to use less specific naming - `labels` is only *one* script that can potentially be run locally while still being written in github-script. Later, we can add more.
24 lines
365 B
Nix
24 lines
365 B
Nix
{
|
|
system ? builtins.currentSystem,
|
|
pkgs ? (import ../. { inherit system; }).pkgs,
|
|
}:
|
|
|
|
pkgs.callPackage (
|
|
{
|
|
mkShell,
|
|
importNpmLock,
|
|
nodejs,
|
|
}:
|
|
mkShell {
|
|
packages = [
|
|
importNpmLock.hooks.linkNodeModulesHook
|
|
nodejs
|
|
];
|
|
|
|
npmDeps = importNpmLock.buildNodeModules {
|
|
npmRoot = ./.;
|
|
inherit nodejs;
|
|
};
|
|
}
|
|
) { }
|