linuxPackages_5_4.ddci-driver: fix build

https://hydra.nixos.org/build/109690986
This commit is contained in:
Maximilian Bosch 2020-01-06 18:47:37 +01:00
parent f02e9f460d
commit 2971c829e5
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = kernel.moduleBuildDependencies;
NIX_CFLAGS_COMPILE = [ "-Wno-error=incompatible-pointer-types" ];
prePatch = ''
substituteInPlace ./ddcci/Makefile \
--replace 'SUBDIRS="$(src)"' 'M=$(PWD)' \