signal-desktop-from-src: remove lockfile from repo

This commit is contained in:
2023-11-15 21:41:29 +00:00
parent b538044d9a
commit 41ac63f445
3 changed files with 6 additions and 41550 deletions

View File

@@ -246,7 +246,7 @@
# , electron
, electron-bin
, fetchFromGitHub
# , fetchYarnDeps
, fetchYarnDeps
, flac
, fixup_yarn_lock
, gdk-pixbuf
@@ -376,16 +376,11 @@ stdenv.mkDerivation rec {
sqlcipher
];
# to update:
# - `cp ~/ref/repos/signalapp/Signal-Desktop/{package.json,yarn.lock} .`
# - `nix run '.#yarn2nix' > yarn.nix`
env.yarnOfflineCache = (callPackage ./yarn.nix {}).offline_cache;
# alternative method, which bypasses yarn2nix
# env.yarnOfflineCache = fetchYarnDeps {
# # this might be IFD: if `nix run '.#check.nur'` fails then inline the lock: `yarnLock = ./yarn.lock`
# yarnLock = "${src}/yarn.lock";
# hash = "sha256-AXT6p5lgF0M9ckoxiAvT1HaJhUWVtwEOadY4otdeB0Q=";
# };
env.yarnOfflineCache = fetchYarnDeps {
# this might be IFD: if `nix run '.#check.nur'` fails then inline the lock: `yarnLock = ./yarn.lock`
yarnLock = "${src}/yarn.lock";
hash = "sha256-AXT6p5lgF0M9ckoxiAvT1HaJhUWVtwEOadY4otdeB0Q=";
};
# env.ELECTRON_SKIP_BINARY_DOWNLOAD = "1";
postPatch = ''

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff