betanin: apply deadnix
This commit is contained in:
parent
5f261acb3b
commit
bcd4c4a269
@ -111,7 +111,7 @@ let
|
||||
);
|
||||
|
||||
# Recursively composes the dependencies of a package
|
||||
composePackage = { name, packageName, src, dependencies ? [ ], ... }@args:
|
||||
composePackage = { packageName, src, dependencies ? [ ], ... }:
|
||||
builtins.addErrorContext "while evaluating node package '${packageName}'" ''
|
||||
installPackage "${packageName}" "${src}"
|
||||
${includeDependencies { inherit dependencies; }}
|
||||
@ -196,7 +196,7 @@ let
|
||||
# dependencies in the package.json file to the versions that are actually
|
||||
# being used.
|
||||
|
||||
pinpointDependenciesOfPackage = { packageName, dependencies ? [ ], production ? true, ... }@args:
|
||||
pinpointDependenciesOfPackage = { packageName, dependencies ? [ ], production ? true, ... }:
|
||||
''
|
||||
if [ -d "${packageName}" ]
|
||||
then
|
||||
@ -481,7 +481,6 @@ let
|
||||
{ name
|
||||
, packageName
|
||||
, version ? null
|
||||
, dependencies ? [ ]
|
||||
, buildInputs ? [ ]
|
||||
, production ? true
|
||||
, npmFlags ? ""
|
||||
@ -644,19 +643,9 @@ let
|
||||
# Builds a development shell
|
||||
buildNodeShell =
|
||||
{ name
|
||||
, packageName
|
||||
, version ? null
|
||||
, src
|
||||
, dependencies ? [ ]
|
||||
, buildInputs ? [ ]
|
||||
, production ? true
|
||||
, npmFlags ? ""
|
||||
, dontNpmInstall ? false
|
||||
, bypassCache ? false
|
||||
, reconstructLock ? false
|
||||
, dontStrip ? true
|
||||
, unpackPhase ? "true"
|
||||
, buildPhase ? "true"
|
||||
, ...
|
||||
}@args:
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# This file has been generated by node2nix 1.11.1. Do not edit!
|
||||
|
||||
{ nodeEnv, fetchurl, fetchgit, nix-gitignore, stdenv, lib, globalBuildInputs ? [ ] }:
|
||||
{ nodeEnv, fetchurl, nix-gitignore, stdenv, lib, globalBuildInputs ? [ ] }:
|
||||
|
||||
let
|
||||
sources = {
|
||||
|
Loading…
Reference in New Issue
Block a user