Merge pull request #253567 from dotlambda/outline-fetchYarnDeps
outline: use fetchYarnDeps
This commit is contained in:
commit
7d2b63104d
3 changed files with 5 additions and 28792 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ stdenv
|
{ stdenv
|
||||||
, lib
|
, lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, fetchYarnDeps
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
, nodejs
|
, nodejs
|
||||||
, yarn
|
, yarn
|
||||||
|
@ -22,7 +23,10 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
||||||
buildInputs = [ yarn nodejs ];
|
buildInputs = [ yarn nodejs ];
|
||||||
|
|
||||||
yarnOfflineCache = yarn2nix-moretea.importOfflineCache ./yarn.nix;
|
yarnOfflineCache = fetchYarnDeps {
|
||||||
|
yarnLock = "${src}/yarn.lock";
|
||||||
|
hash = "sha256-j9iaxXfMlG9dT6fvYgPQg6Y0QvCRiBU1peO0YgsGHOY=";
|
||||||
|
};
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
export HOME=$(mktemp -d)/yarn_home
|
export HOME=$(mktemp -d)/yarn_home
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue