anchor.diff:    patches = optional enableHardening ./hardened.patch;
   
     configurePhase = ''
  -    sourcedir="$(pwd)"
       cat >> LocalConfig.kmk <<LOCAL_CONFIG
       VBOX_WITH_TESTCASES            :=
       VBOX_WITH_TESTSUITE            :=
  
positive.code:     share="${if enableHardening then "$out/share/virtualbox" else "$libexec"}"
  
      # Install VirtualBox files
      cd out/linux.*/release/bin
      mkdir -p $libexec
      cp -av * $libexec
  
      # Install kernel modules
      ${forEachModule "modules_install"}
  
negative.code:       ln -s $libexec/icons/$size/*.png $out/share/icons/hicolor/$size/apps
      done
  
      # Get rid of a reference to linux.dev.
      nuke-refs $out/lib/modules/*/misc/*.ko
    '';
  