linuxPackages_latest.xpadneo: fix build
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
kernel,
|
||||
kernelModuleMakeFlags,
|
||||
bluez,
|
||||
@@ -20,6 +21,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-evmjQrQPHe8F+6w12bnUv6P4QKGkm63cmP1HEv6equw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Remove deprecated ida_simple_xx() usage
|
||||
(fetchpatch {
|
||||
url = "https://github.com/orderedstereographic/xpadneo/commit/233e1768fff838b70b9e942c4a5eee60e57c54d4.patch";
|
||||
hash = "sha256-HL+SdL9kv3gBOdtsSyh49fwYgMCTyNkrFrT+Ig0ns7E=";
|
||||
stripLen = 2;
|
||||
})
|
||||
];
|
||||
|
||||
setSourceRoot = ''
|
||||
export sourceRoot=$(pwd)/${finalAttrs.src.name}/hid-xpadneo/src
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user