linuxPackages.ddcci-driver: 0.3.2 -> 0.3.3
This commit is contained in:
parent
926a875def
commit
79045d9051
@ -2,28 +2,26 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ddcci-driver";
|
||||
version = "0.3.2";
|
||||
version = "0.3.3";
|
||||
name = "${pname}-${kernel.version}-${version}";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "${pname}-linux";
|
||||
repo = "${pname}-linux";
|
||||
rev = "v${version}";
|
||||
sha256 = "0jl4l3vvxn85cbqr80p6bgyhf2vx9kbadrwx086wkj9ni8k6x5m6";
|
||||
sha256 = "0vkkja3ykjil783zjpwp0vz7jy2fp9ccazzi3afd4fjk8gldin7f";
|
||||
};
|
||||
|
||||
hardeningDisable = [ "pic" ];
|
||||
|
||||
nativeBuildInputs = kernel.moduleBuildDependencies;
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=incompatible-pointer-types" ];
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace ./ddcci/Makefile \
|
||||
--replace 'SUBDIRS="$(src)"' 'M=$(PWD)' \
|
||||
--replace '"$(src)"' '$(PWD)' \
|
||||
--replace depmod \#
|
||||
substituteInPlace ./ddcci-backlight/Makefile \
|
||||
--replace 'SUBDIRS="$(src)"' 'M=$(PWD)' \
|
||||
--replace '"$(src)"' '$(PWD)' \
|
||||
--replace depmod \#
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user