diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-17 12:24:00 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-17 12:24:00 +0100 |
commit | 5e54ddda0811368b64353c45192366d26803cba2 (patch) | |
tree | f781193de6c994bcbd922bc086561e3b2351c247 /nix-conf/home/includes/common.nix | |
parent | 4758ed2e758fcf06a28478b844c50bcc383c7d36 (diff) | |
download | dotfiles-5e54ddda0811368b64353c45192366d26803cba2.tar.gz |
Replace nix-search-cli with diamondburned/nix-search
Diffstat (limited to 'nix-conf/home/includes/common.nix')
-rw-r--r-- | nix-conf/home/includes/common.nix | 16 |
1 files changed, 15 insertions, 1 deletions
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 <unstable> { }; + + 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 |