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