Use custom nheko
This commit is contained in:
parent
d68d27a744
commit
99c6985782
18
flake.lock
generated
18
flake.lock
generated
@ -339,6 +339,23 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nheko": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1624023535,
|
||||
"narHash": "sha256-m1gt1pUX1VnZIJzGGde52ZbKn4o44p2RM3f6sUtJcM4=",
|
||||
"owner": "balsoft",
|
||||
"repo": "nheko",
|
||||
"rev": "9f798e76ede3672d91276b1be7dd20de5459c9df",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "balsoft",
|
||||
"ref": "allow-edits-of-pending-messages",
|
||||
"repo": "nheko",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nix": {
|
||||
"inputs": {
|
||||
"lowdown-src": "lowdown-src",
|
||||
@ -589,6 +606,7 @@
|
||||
"impermanence": "impermanence",
|
||||
"lambda-launcher": "lambda-launcher",
|
||||
"materia-theme": "materia-theme",
|
||||
"nheko": "nheko",
|
||||
"nix": "nix",
|
||||
"nix-direnv": "nix-direnv",
|
||||
"nixos-fhs-compat": "nixos-fhs-compat",
|
||||
|
@ -62,6 +62,11 @@
|
||||
nix-direnv = {
|
||||
url = "github:nix-community/nix-direnv";
|
||||
};
|
||||
|
||||
nheko = {
|
||||
url = "github:balsoft/nheko/allow-edits-of-pending-messages";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, nix, self, deploy-rs, ... }@inputs: {
|
||||
|
@ -106,6 +106,14 @@ in {
|
||||
# });
|
||||
|
||||
nix-direnv = inputs.nix-direnv.defaultPackage.${system};
|
||||
|
||||
nheko = super.nheko.overrideAttrs (oa: {
|
||||
src = inputs.nheko;
|
||||
patches = [(self.fetchpatch {
|
||||
url = "https://nheko.im/nheko-reborn/nheko/-/commit/78fb89355f189e4fb57e8d0ca0089e09547fea50.patch";
|
||||
sha256 = "0lqjzv5k9cxi7sfrhj0a75vyzx1m5bzvmbvn4ckr098zilr914bb";
|
||||
})] ++ oa.patches or [];
|
||||
});
|
||||
})
|
||||
];
|
||||
nixpkgs.config = {
|
||||
|
Loading…
Reference in New Issue
Block a user