Skip to content

Commit bfdfe9a

Browse files
committed
use fork of nix-index-database
1 parent 81e70cc commit bfdfe9a

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

flake.lock

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,18 @@
2020
github-nix-ci.url = "github:juspay/github-nix-ci";
2121
nixos-vscode-server.flake = false;
2222
nixos-vscode-server.url = "github:nix-community/nixos-vscode-server";
23-
nix-index-database.url = "github:nix-community/nix-index-database";
24-
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
23+
24+
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
2525
nix-index = {
26-
# Fork with flake support https://github.com/gvolpe/nix-index/pull/1
2726
url = "github:gvolpe/nix-index";
27+
inputs.nix-index-database.follows = "nix-index-database";
28+
inputs.nixpkgs.follows = "nixpkgs";
29+
};
30+
nix-index-database = {
31+
url = "github:gvolpe/nix-index-database";
2832
inputs.nixpkgs.follows = "nixpkgs";
2933
};
34+
3035
actualism-app.url = "github:srid/actualism-app";
3136
omnix.url = "github:juspay/omnix";
3237
hyprland.url = "github:hyprwm/Hyprland/v0.45.2";

modules/home/all/nix-index.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Platform-independent terminal setup
2-
{ flake, ... }:
2+
{ flake, pkgs, ... }:
33

44
let
55
inherit (flake) inputs;
@@ -15,7 +15,8 @@ in
1515
enable = true;
1616
enableZshIntegration = true;
1717
enableNixCommand = true;
18+
database = inputs.nix-index-database.packages.${pkgs.system}.nix-index-small-database;
1819
};
19-
nix-index-database.comma.enable = true;
20+
# nix-index-database.comma.enable = true;
2021
};
2122
}

0 commit comments

Comments
 (0)