From e8628b6312b440b0b758f97804307a8575e156a3 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 24 May 2022 10:58:09 +0300 Subject: [PATCH] chore(nix/prog/himalaya): use develop branch --- nix/progs/himalaya.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nix/progs/himalaya.nix b/nix/progs/himalaya.nix index 6d43c53..8e18f12 100644 --- a/nix/progs/himalaya.nix +++ b/nix/progs/himalaya.nix @@ -4,7 +4,16 @@ with lib; let cfg = config.progs.himalaya; - bin = "~/repos/himalaya/target/release/himalaya"; + + devHimalaya = pkgs.himalaya.overrideAttrs (oldAttrs: { + src = builtins.fetchGit { + url = "https://github.com/soywod/himalaya.git"; + ref = "development"; + rev = "ba8ef9adf6effc40674765f995d19e9cfd1a8636"; + }; + }); + + bin = "${devHimalaya}/bin/himalaya"; in { options.progs.himalaya = { @@ -18,6 +27,7 @@ in config = mkIf cfg.enable { programs.himalaya = { enable = true; + package = devHimalaya; settings = { default-page-size = 20; downloads-dir = "${config.home.homeDirectory}/downloads/email";