Override yarn lock
This commit is contained in:
parent
673547cfa5
commit
1adc924e1c
20
default.nix
20
default.nix
|
@ -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";
|
||||
};
|
||||
});
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue