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 { 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