canokey-usbip: fix build

This commit is contained in:
wxt 2024-12-29 16:20:59 +08:00
parent 8d57281b97
commit b1148e7165
No known key found for this signature in database
GPG key ID: 8281D5EE2D1825A4

View file

@ -28,6 +28,12 @@ stdenv.mkDerivation (finalAttrs: {
python3
];
env = {
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=incompatible-pointer-types"
];
};
postInstall = ''
install -D --target-directory=$out/bin canokey-usbip
'';