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