Skip to content

Instantly share code, notes, and snippets.

@srhb
Created August 7, 2020 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srhb/1126d47d0e85745336f3427b23a93e5f to your computer and use it in GitHub Desktop.
Save srhb/1126d47d0e85745336f3427b23a93e5f to your computer and use it in GitHub Desktop.
(self: super: {
nix-index = super.nix-index.overrideAttrs (oa: rec {
version = "0.1.3pre";
src = assert super.nix-index.version == "0.1.2"; self.fetchFromGitHub {
owner = "bennofs";
repo = "nix-index";
rev = "1ed54f7504a04ce179e55bb32622f91622b5d6b9";
sha256 = "sha256-YaB714p6hYY0i+0ZMl9dRHtcZ8xl/aMcmWxL6/kz/Ss=";
};
cargoDeps = oa.cargoDeps.overrideAttrs (coa: {
inherit src;
outputHash = "sha256-iCftAHCRYu3gRw9a5GSkmDuPqRzr1yFxOqgkJ5vA4Oo=";
});
patches = [
(self.fetchurl {
url = "https://gist.githubusercontent.com/pbogdan/61122eba24fbcf08877751a39fd7626f/raw/c9d56c999052b52e42f813f0c3137cbc53da44dd/nix-index-patch.patch";
sha256 = "sha256-f/RjvGgsicFai6xKG5TBkk8j0FQ0I9IrCxUNYZbWgic=";
})
];
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment