From eaa58505a745228868e8521304cacec1ae4b9654 Mon Sep 17 00:00:00 2001 From: nixbitcoin Date: Tue, 23 Feb 2021 10:49:59 +0000 Subject: [PATCH] electrs: v0.8.7 -> v0.8.8 --- modules/electrs.nix | 2 +- pkgs/electrs/default.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/electrs.nix b/modules/electrs.nix index 2828db4..6e51b59 100644 --- a/modules/electrs.nix +++ b/modules/electrs.nix @@ -72,7 +72,7 @@ in { requires = [ "bitcoind.service" ]; after = [ "bitcoind.service" ]; preStart = '' - echo "cookie = \"${bitcoind.rpc.users.public.name}:$(cat ${secretsDir}/bitcoin-rpcpassword-public)\"" \ + echo "auth = \"${bitcoind.rpc.users.public.name}:$(cat ${secretsDir}/bitcoin-rpcpassword-public)\"" \ > electrs.toml ''; serviceConfig = nbLib.defaultHardening // { diff --git a/pkgs/electrs/default.nix b/pkgs/electrs/default.nix index affb9b2..6cae761 100644 --- a/pkgs/electrs/default.nix +++ b/pkgs/electrs/default.nix @@ -1,19 +1,19 @@ { lib, rustPlatform, llvmPackages, fetchurl, pkgs }: rustPlatform.buildRustPackage rec { pname = "electrs"; - version = "0.8.7"; + version = "0.8.8"; src = fetchurl { url = "https://github.com/romanz/electrs/archive/v${version}.tar.gz"; # Use ./get-sha256.sh to fetch latest (verified) sha256 - sha256 = "f967f322ebf86dd32d291716fa8e8b155da4b35d003b116b4e7007054d6b515e"; + sha256 = "e6ec3f49c8cb4da27ee6e1ba7323bb6e3af1ebf881719c5710c71d151435660f"; }; # Needed for librocksdb-sys nativeBuildInputs = [ llvmPackages.clang ]; LIBCLANG_PATH = "${llvmPackages.libclang}/lib"; - cargoSha256 = "12ypx0rkpbjl4awzx8ga30qhiqqd56a24q4jwlxxnfpw9ks1z252"; + cargoSha256 = "0mj2p8810l5jspbsdg3cjz6qk76sczsh9fpifxxsbkznk63qv88j"; meta = with lib; { description = "An efficient Electrum Server in Rust";