mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
canokey-usbip: fix build
This commit is contained in:
parent
8d57281b97
commit
b1148e7165
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue