From bcd4c4a269b2c173b194f359f42d71b51794f5ea Mon Sep 17 00:00:00 2001 From: xeals Date: Wed, 27 Sep 2023 17:16:58 +1000 Subject: [PATCH] betanin: apply deadnix --- pkgs/by-name/be/betanin/client/node-env.nix | 15 ++------------- pkgs/by-name/be/betanin/client/packages.nix | 2 +- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/pkgs/by-name/be/betanin/client/node-env.nix b/pkgs/by-name/be/betanin/client/node-env.nix index c8df27c..6e9d0c8 100644 --- a/pkgs/by-name/be/betanin/client/node-env.nix +++ b/pkgs/by-name/be/betanin/client/node-env.nix @@ -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: diff --git a/pkgs/by-name/be/betanin/client/packages.nix b/pkgs/by-name/be/betanin/client/packages.nix index 7d71b44..95bb091 100644 --- a/pkgs/by-name/be/betanin/client/packages.nix +++ b/pkgs/by-name/be/betanin/client/packages.nix @@ -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 = {