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> { } }:
|
{ 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";
|
||||||
}
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in a new issue