From 2296eb7f2ad157d8dd4f9c62e813039c3122b6bb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Thu, 2 Jun 2022 19:08:51 +0800 Subject: [PATCH] remove hidapi override Bug is fixed upstream. --- flake.nix | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/flake.nix b/flake.nix index 69c5d3a..9da14b4 100644 --- a/flake.nix +++ b/flake.nix @@ -113,15 +113,6 @@ in rec { packages.x86_64-linux = rec { - # https://github.com/m-labs/artiq/issues/23 - hidapi = pkgs.hidapi.overrideAttrs (oa: { - src = pkgs.fetchFromGitHub { - owner = "signal11"; - repo = "hidapi"; - rev = "a6a622ffb680c55da0de787ff93b80280498330f"; - sha256 = "17n7c4v3jjrnzqwxpflggxjn6vkzscb32k4kmxqjbfvjqnx7qp7j"; - }; - }); korad_ka3005p = pkgs.python3Packages.buildPythonPackage { pname = "korad_ka3005p"; version = "1.1"; @@ -157,7 +148,7 @@ postPatch = '' substituteInPlace lda/hidapi.py \ --replace "hidapi_lib_path = None"\ - "hidapi_lib_path = '${hidapi}/lib/libhidapi-libusb.so.0'" + "hidapi_lib_path = '${pkgs.hidapi}/lib/libhidapi-libusb.so.0'" ''; }; thorlabs_tcube = pkgs.python3Packages.buildPythonPackage {