use fork of nix-index-database

This commit is contained in:
Sridhar Ratnakumar 2024-12-22 16:47:08 -05:00
parent 81e70ccbd2
commit d4fe1a9be9
3 changed files with 23 additions and 13 deletions

19
flake.lock generated
View file

@ -900,16 +900,19 @@
"nix-index": { "nix-index": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"nix-index-database": [
"nix-index-database"
],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1734697770, "lastModified": 1734902568,
"narHash": "sha256-pPJSqSwVQ1XagigG8sfpBweqTJp6IfEAGmxhcAk4tDg=", "narHash": "sha256-X4CzMp+L7jBL9gQemTvhT8rDhE+8LYqn9bAZB8TVIoU=",
"owner": "gvolpe", "owner": "gvolpe",
"repo": "nix-index", "repo": "nix-index",
"rev": "dc0329df4bfe76b326756c2b7f3a811d5e910e2f", "rev": "14644fb1a4bfcd1cd620c90875dd5661f26ca94a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -925,15 +928,15 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1734234111, "lastModified": 1734886205,
"narHash": "sha256-icEMqBt4HtGH52PU5FHidgBrNJvOfXH6VQKNtnD1aw8=", "narHash": "sha256-vaODlEr6aOLEmbhPrQ8j5xWr8UHcXbZx2ulvBIDMf5w=",
"owner": "nix-community", "owner": "gvolpe",
"repo": "nix-index-database", "repo": "nix-index-database",
"rev": "311d6cf3ad3f56cb051ffab1f480b2909b3f754d", "rev": "07f7fcb8de6ee50a472a119a02616fb1ed67a25f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "gvolpe",
"repo": "nix-index-database", "repo": "nix-index-database",
"type": "github" "type": "github"
} }

View file

@ -20,13 +20,18 @@
github-nix-ci.url = "github:juspay/github-nix-ci"; github-nix-ci.url = "github:juspay/github-nix-ci";
nixos-vscode-server.flake = false; nixos-vscode-server.flake = false;
nixos-vscode-server.url = "github:nix-community/nixos-vscode-server"; nixos-vscode-server.url = "github:nix-community/nixos-vscode-server";
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs"; # Fork with flake support https://github.com/gvolpe/nix-index/pull/1
nix-index = { nix-index = {
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
url = "github:gvolpe/nix-index"; url = "github:gvolpe/nix-index";
inputs.nix-index-database.follows = "nix-index-database";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nix-index-database = {
url = "github:gvolpe/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
actualism-app.url = "github:srid/actualism-app"; actualism-app.url = "github:srid/actualism-app";
omnix.url = "github:juspay/omnix"; omnix.url = "github:juspay/omnix";
hyprland.url = "github:hyprwm/Hyprland/v0.45.2"; hyprland.url = "github:hyprwm/Hyprland/v0.45.2";

View file

@ -1,5 +1,5 @@
# Platform-independent terminal setup # Platform-independent terminal setup
{ flake, ... }: { flake, pkgs, ... }:
let let
inherit (flake) inputs; inherit (flake) inputs;
@ -15,7 +15,9 @@ in
enable = true; enable = true;
enableZshIntegration = true; enableZshIntegration = true;
enableNixCommand = true; enableNixCommand = true;
database = inputs.nix-index-database.packages.${pkgs.system}.nix-index-small-database;
}; };
nix-index-database.comma.enable = true; command-not-found.enable = false;
# nix-index-database.comma.enable = true;
}; };
} }