mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
linuxPackages.evdi: disable fortify hardening
Also fix version (this revision is actually tagged).
This commit is contained in:
parent
94ebc13a6a
commit
f5b04628f0
@ -2,12 +2,12 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "evdi-${version}";
|
||||
version = "unstable-2018-01-12";
|
||||
version = "1.5.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "DisplayLink";
|
||||
repo = "evdi";
|
||||
rev = "e7a08d08e3876efba8007e91df1b296f2447b8de";
|
||||
rev = "v${version}";
|
||||
sha256 = "01z7bx5rgpb5lc4c6dxfiv52ni25564djxmvmgy3d7r1x1mqhxgs";
|
||||
};
|
||||
|
||||
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
makeFlags = [ "KVER=${kernel.modDirVersion}" "KDIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" ];
|
||||
|
||||
hardeningDisable = [ "pic" "format" ];
|
||||
hardeningDisable = [ "format" "pic" "fortify" ];
|
||||
|
||||
installPhase = ''
|
||||
install -Dm755 module/evdi.ko $out/lib/modules/${kernel.modDirVersion}/kernel/drivers/gpu/drm/evdi/evdi.ko
|
||||
|
Loading…
Reference in New Issue
Block a user