anchor.diff:      gtk3
       icu
       krb5
  +    mesa
  +    libdrm
       libX11
       libXScrnSaver
       libXcomposite
  
positive.code: , iproute
  , krb5
  , lib
  , libX11
  , libXScrnSaver
  , libXcomposite
  
negative.code:     cp -r $out/usr/share $out/share
  
      for file in $out/opt/appgate/linux/appgate-resolver.pre \
                  $out/opt/appgate/linux/appgate-dumb-resolver.pre
      do
        substituteInPlace $file \
          --replace "/bin/sh" "${bash}/bin/sh" \
          --replace "cat" "${coreutils}/bin/cat" \
          --replace "chattr" "${e2fsprogs}/bin/chattr" \
          --replace "mv" "${coreutils}/bin/mv" \
          --replace "pkill" "${procps}/bin/pkill"
      done
  
      for file in $out/lib/systemd/system/appgatedriver.service \
                  $out/lib/systemd/system/appgate-dumb-resolver.service \
                  $out/lib/systemd/system/appgate-resolver.service
      do
        substituteInPlace $file \
          --replace "/bin/sh" "${bash}/bin/sh" \
          --replace "/opt/" "$out/opt/" \
          --replace "chattr" "${e2fsprogs}/bin/chattr" \
          --replace "mv" "${coreutils}/bin/mv"
      done
  
      substituteInPlace $out/lib/systemd/system/appgatedriver.service \
          --replace "InaccessiblePaths=/mnt /srv /boot /media" "InaccessiblePaths=-/mnt -/srv -/boot -/media"
  
      substituteInPlace $out/lib/systemd/system/appgate-resolver.service \
          --replace "/usr/sbin/dnsmasq" "${dnsmasq}/bin/dnsmasq"
  
      substituteInPlace $out/opt/appgate/linux/nm.py --replace "/usr/sbin/dnsmasq" "${dnsmasq}/bin/dnsmasq"
      substituteInPlace $out/opt/appgate/linux/set_dns --replace "/etc/appgate.conf" "$out/etc/appgate.conf"
  
    '';
  
  