diff options
Diffstat (limited to 'ci/github-script/shell.nix')
| -rw-r--r-- | ci/github-script/shell.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ci/github-script/shell.nix b/ci/github-script/shell.nix new file mode 100644 index 0000000000..ce8c719ffe --- /dev/null +++ b/ci/github-script/shell.nix @@ -0,0 +1,25 @@ +{ + system ? builtins.currentSystem, + pkgs ? (import ../../ci { inherit system; }).pkgs, +}: + +pkgs.callPackage ( + { + gh, + importNpmLock, + mkShell, + nodejs, + }: + mkShell { + packages = [ + gh + importNpmLock.hooks.linkNodeModulesHook + nodejs + ]; + + npmDeps = importNpmLock.buildNodeModules { + npmRoot = ./.; + inherit nodejs; + }; + } +) { } |
