nix-bisect: apply patch to fix nix compat

This commit is contained in:
Martin Weinelt 2022-04-06 02:13:04 +02:00
parent e29253ad9b
commit 22f857bf48
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -1,4 +1,5 @@
{ lib
, fetchpatch
, fetchFromGitHub
, python3
}:
@ -18,6 +19,14 @@ python3.pkgs.buildPythonApplication {
hash = "sha256-01vj35mMakqKi5zbMIPQ+R8xdkOWbzpnigd3/SU+svw=";
};
patches = [
(fetchpatch {
# Fixes compatibility with recent nix versions
url = "https://github.com/timokau/nix-bisect/commit/01eefe174b740cb90e48b06d67d5582d51786b96.patch";
hash = "sha256-Gls/NtHH7LujdEgLbcIRZ12KsJDrasXIMcHeeBVns4A=";
})
];
propagatedBuildInputs = with python3.pkgs; [
appdirs
numpy