libnitrokey: fix build on darwin

This commit is contained in:
Theodore Ni 2023-07-02 14:48:23 -07:00
parent 366c42ffb0
commit ab33325010
No known key found for this signature in database
GPG key ID: 48B67583BDDD4474

View file

@ -15,7 +15,11 @@ stdenv.mkDerivation (finalAttrs: {
owner = "Nitrokey";
repo = "libnitrokey";
rev = "v${finalAttrs.version}";
hash = "sha256-9ZMR1g04gNzslax6NpD6KykfUfjpKFIizaMMn06iJa0=";
hash = "sha256-4PEZ31QyVOmdhpKqTN8fwcHoLuu+w+OJ3fZeqwlE+io=";
# On OSX, libnitrokey depends on a custom version of hidapi in a submodule.
# Monitor https://github.com/Nitrokey/libnitrokey/issues/140 to see if we
# can remove this extra work one day.
fetchSubmodules = true;
};
nativeBuildInputs = [