diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-09-14 13:17:39 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-09-14 13:17:39 +0000 |
commit | 56e87d10ec12e00eab5c4b5710e01ab50eec267f (patch) | |
tree | baff33c3da97619d02441379b3f0f369da8f3d5a /nixpkgs/pkgs/tools/misc/sharedown/default.nix | |
parent | cc14c6e02d8424c1d446d248f71e08243181af8d (diff) | |
parent | 3a2786eea085f040a66ecde1bc3ddc7099f6dbeb (diff) | |
download | nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar.gz nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar.bz2 nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar.lz nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar.xz nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.tar.zst nixlib-56e87d10ec12e00eab5c4b5710e01ab50eec267f.zip |
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/sharedown/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/misc/sharedown/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/tools/misc/sharedown/default.nix b/nixpkgs/pkgs/tools/misc/sharedown/default.nix index aa72394b7107..47e97fa25520 100644 --- a/nixpkgs/pkgs/tools/misc/sharedown/default.nix +++ b/nixpkgs/pkgs/tools/misc/sharedown/default.nix @@ -12,6 +12,7 @@ , makeDesktopItem , copyDesktopItems , yarn2nix-moretea +, fetchYarnDeps , chromium }: @@ -51,7 +52,7 @@ stdenvNoCC.mkDerivation rec { yt-dlp ]); - modules = yarn2nix-moretea.mkYarnModules { + modules = yarn2nix-moretea.mkYarnModules rec { name = "${pname}-modules-${version}"; inherit pname version; @@ -87,7 +88,11 @@ stdenvNoCC.mkDerivation rec { packageJSON = "${src}/package.json"; yarnLock = ./yarn.lock; - yarnNix = ./yarndeps.nix; + + offlineCache = fetchYarnDeps { + inherit yarnLock; + hash = "sha256-NzWzkZbf5R1R72K7KVJbZUCzso1UZ0p3+lRYZE2M/dI="; + }; }; in '' |