From 5e54ddda0811368b64353c45192366d26803cba2 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 17 Sep 2024 12:24:00 +0100 Subject: Replace nix-search-cli with diamondburned/nix-search --- nix-conf/home/includes/common.nix | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'nix-conf/home/includes/common.nix') diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index d9d2ae7..9a3ef30 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -8,6 +8,20 @@ let hcr = pkgs.callPackage ./scripts/hm-changes-report.nix { inherit config pkgs; }; scr = pkgs.callPackage ./scripts/system-changes-report.nix { inherit config pkgs; }; unstable = import { }; + + nix-search = ( + pkgs.buildGoModule { + pname = "nix-search"; + version = "0.3.1"; + src = pkgs.fetchFromGitHub { + owner = "diamondburned"; + repo = "nix-search"; + rev = "e616ac1c82a616fa6e6d8c94839c5052eb8c808d"; + hash = "sha256-h9yYOjL9i/m0r5NbqMcLMFNnwSKsIgfUr5qk+47pOtc="; + }; + vendorHash = "sha256-bModWDH5Htl5rZthtk/UTw/PXT+LrgyBjsvE6hgIePY="; + } + ); in { imports = [ @@ -79,7 +93,7 @@ in nix-info nix-prefetch-git nix-prefetch-github - nix-search-cli + nix-search nixpkgs-review nvd pass -- cgit 1.4.1-2-gfad0