mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
fixed electrum
This commit is contained in:
parent
a20993403f
commit
9db03305a9
1 changed files with 18 additions and 18 deletions
|
|
@ -13,24 +13,24 @@ let
|
||||||
in
|
in
|
||||||
{ options.modules.system.bitcoin.electrum = { enable = mkEnableOption "Electrs Server"; };
|
{ options.modules.system.bitcoin.electrum = { enable = mkEnableOption "Electrs Server"; };
|
||||||
config = mkIf (cfg.enable && btc.enable) {
|
config = mkIf (cfg.enable && btc.enable) {
|
||||||
nixpkgs.overlays = [
|
#nixpkgs.overlays = [
|
||||||
(final: prev: {
|
# (final: prev: {
|
||||||
electrs = prev.electrs.overrideAttrs (old: rec {
|
# electrs = prev.electrs.overrideAttrs (old: rec {
|
||||||
version = "0.10.6";
|
# version = "0.10.6";
|
||||||
src = pkgs.fetchFromGitHub {
|
# src = pkgs.fetchFromGitHub {
|
||||||
owner = "romanz";
|
# owner = "romanz";
|
||||||
repo = "electrs";
|
# repo = "electrs";
|
||||||
rev = "v${version}";
|
# rev = "v${version}";
|
||||||
hash = "sha256-yp9fKD7zH9Ne2+WQUupaxvUx39RWE8RdY4U6lHuDGSc=";
|
# hash = "sha256-yp9fKD7zH9Ne2+WQUupaxvUx39RWE8RdY4U6lHuDGSc=";
|
||||||
};
|
# };
|
||||||
cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
|
# cargoDeps = old.cargoDeps.overrideAttrs (lib.const {
|
||||||
name = "electrs-vendor.tar.gz";
|
# name = "electrs-vendor.tar.gz";
|
||||||
inherit src;
|
# inherit src;
|
||||||
outputHash = "sha256-qQKAQHOAeYWQ5YVtx12hIAjNA7Aj1MW1m+WimlBWPv0=";
|
# outputHash = "sha256-qQKAQHOAeYWQ5YVtx12hIAjNA7Aj1MW1m+WimlBWPv0=";
|
||||||
});
|
# });
|
||||||
});
|
# });
|
||||||
})
|
# })
|
||||||
];
|
#];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
electrs
|
electrs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue