Merge pull request #253567 from dotlambda/outline-fetchYarnDeps

outline: use fetchYarnDeps
This commit is contained in:
Weijia Wang 2023-09-06 15:24:24 +02:00 committed by GitHub
commit 7d2b63104d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 28792 deletions

View File

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchYarnDeps
, makeWrapper
, nodejs
, yarn
@ -22,7 +23,10 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
buildInputs = [ yarn nodejs ];
yarnOfflineCache = yarn2nix-moretea.importOfflineCache ./yarn.nix;
yarnOfflineCache = fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
hash = "sha256-j9iaxXfMlG9dT6fvYgPQg6Y0QvCRiBU1peO0YgsGHOY=";
};
configurePhase = ''
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