Override yarn lock

This commit is contained in:
Erin Shepherd 2022-11-01 17:08:59 +00:00
parent 673547cfa5
commit 1adc924e1c

View file

@ -1,10 +1,18 @@
{ pkgs ? import <nixpkgs> { } }:
let
src = import ./source.nix;
phase1 = pkgs.mastodon.override {
pname = "mastodon-queer-af";
version = "main";
srcOverride = src;
dependenciesDir = src;
};
in
pkgs.mastodon.override {
pname = "mastodon-queer-af";
version = "main";
srcOverride = src;
dependenciesDir = src;
}
phase1.overrideAttrs (prev: {
mastodon-modules = phase1.mastodon-modules.overrideAttrs (prev: {
yarnOfflineCache = pkgs.fetchYarnDeps {
yarnLock = "${src}/yarn.lock";
sha256 = "0v47h3a0cw5fhffp0bajazd3731zkzqvn0vh4klpd4a29mf26y6n";
};
});
})