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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff