anchor.diff:      "PERL=perl"
       "HEXDATE=0x00000000"
     ]
  -    ++ lib.optionals stdenv.hostPlatform.isi686 [ "bios" "efi32" ];
  +  ++ lib.optionals stdenv.hostPlatform.isi686 [ "bios" "efi32" ];
   
  -  doCheck = false; # fails. some fail in a sandbox, others require qemu
  +  # Some tests require qemu, some others fail in a sandboxed environment
  +  doCheck = false;
   
     postInstall = ''
       wrapProgram $out/bin/syslinux \
  
positive.code:     touch gnu-efi/inc/ia32/gnu/stubs-32.h
    '';
  
    nativeBuildInputs = [ nasm perl python3 makeWrapper ];
    buildInputs = [ libuuid ];
  
    enableParallelBuilding = false; # Fails very rarely with 'No rule to make target: ...'
    hardeningDisable = [ "pic" "stackprotector" "fortify" ];
  
    stripDebugList = [ "bin" "sbin" "share/syslinux/com32" ];
  
negative.code:   meta = with lib; {
      homepage = "http://www.syslinux.org/";
      description = "A lightweight bootloader";
      license = licenses.gpl2Plus;
      maintainers = [ maintainers.samueldr ];
      platforms = [ "i686-linux" "x86_64-linux" ];
    };
  