codefresh: use yarnInstallHook

This commit is contained in:
lelgenio 2024-07-19 20:26:57 -03:00
parent caa7a66dda
commit 645bec21e0

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchYarnDeps, yarnConfigHook, npmHooks, nodejs, testers }:
{ lib, stdenv, fetchFromGitHub, fetchYarnDeps, yarnConfigHook, yarnInstallHook, nodejs, testers }:
stdenv.mkDerivation (finalAttrs: {
pname = "codefresh";
@ -17,11 +17,9 @@ stdenv.mkDerivation (finalAttrs: {
};
nativeBuildInputs = [
yarnConfigHook
npmHooks.npmInstallHook
yarnInstallHook
nodejs
];
# Tries to fetch stuff from the internet
dontNpmPrune = true;
passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;