mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-16 17:14:00 +00:00
codefresh: use yarnInstallHook
This commit is contained in:
parent
caa7a66dda
commit
645bec21e0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user