Merge pull request #253577 from dotlambda/meshcentral-fetchYarnDeps

meshcentral: use fetchYarnDeps
This commit is contained in:
Weijia Wang 2023-09-06 15:32:19 +02:00 committed by GitHub
commit 553f543815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 11383 deletions

View file

@ -1,4 +1,10 @@
{ lib, fetchzip, yarn2nix-moretea, nodejs_18, dos2unix }:
{ lib
, fetchzip
, fetchYarnDeps
, yarn2nix-moretea
, nodejs_18
, dos2unix
}:
yarn2nix-moretea.mkYarnPackage {
version = "1.1.6";
@ -12,7 +18,11 @@ yarn2nix-moretea.mkYarnPackage {
packageJSON = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
offlineCache = fetchYarnDeps {
yarnLock = ./yarn.lock;
hash = "sha256-aKWa6pvIi2JkOtpiWH19KZoncPuSIgvDk/j7PvXp2nw=";
};
# Tarball has CRLF line endings. This makes patching difficult, so let's convert them.
nativeBuildInputs = [ dos2unix ];

File diff suppressed because it is too large Load diff