From 63d4e59addd19c24a618049fcc797f8db7185c6d Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 10 Feb 2016 22:28:44 +0000 Subject: [PATCH] seabios: turn off pic and stackprotector hardening --- pkgs/applications/virtualization/seabios/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/virtualization/seabios/default.nix b/pkgs/applications/virtualization/seabios/default.nix index 8e6a7fcb0d2..a06523973b7 100644 --- a/pkgs/applications/virtualization/seabios/default.nix +++ b/pkgs/applications/virtualization/seabios/default.nix @@ -12,6 +12,9 @@ stdenv.mkDerivation rec { buildInputs = [ iasl python ]; + hardening_pic = false; + hardening_stackprotector = false; + configurePhase = '' # build SeaBIOS for CSM cat > .config << EOF @@ -21,12 +24,12 @@ stdenv.mkDerivation rec { EOF make olddefconfig - ''; + ''; installPhase = '' mkdir $out cp out/Csm16.bin $out/Csm16.bin - ''; + ''; meta = with stdenv.lib; { description = "Open source implementation of a 16bit X86 BIOS";