anchor.diff:    execdir = if stdenv.isDarwin
               then "/Applications/${binaryNameCapitalized}.app/Contents/MacOS"
               else "/bin";
  +
   in
   
   stdenv.mkDerivation ({
  
positive.code: 
    postPatch = ''
      rm -rf obj-x86_64-pc-linux-gnu
  
      # needed for enabling webrtc+pipewire
      substituteInPlace \
        media/webrtc/trunk/webrtc/modules/desktop_capture/desktop_capture_generic_gn/moz.build \
        --replace /usr/include ${pipewire.dev}/include
  
negative.code: }:
  
  assert stdenv.cc.libc or null != null;
  assert pipewireSupport -> !waylandSupport || !webrtcSupport -> throw "pipewireSupport requires both wayland and webrtc support.";
  
  let
    flag = tf: x: [(if tf then "--enable-${x}" else "--disable-${x}")];
  