anchor.diff: -{ stdenv, fetchFromGitHub, automake, autoconf, libtool, intltool, pkgconfig
  +{ stdenv, fetchFromGitHub, autoreconfHook, libtool, intltool, pkgconfig
   , networkmanager, ppp, xl2tpd, strongswan, libsecret
   , withGnome ? true, gnome3, networkmanagerapplet }:
   
  
positive.code:       --replace /sbin/xl2tpd ${xl2tpd}/bin/xl2tpd
    '';
  
    preConfigure = "./autogen.sh";
  
    configureFlags =
      if withGnome then "--with-gnome" else "--without-gnome";
  
negative.code:   buildInputs = [ networkmanager ppp libsecret ]
      ++ stdenv.lib.optionals withGnome [ gnome3.gtk gnome3.libgnome_keyring networkmanagerapplet ];
  
    nativeBuildInputs = [ autoreconfHook libtool intltool pkgconfig ];
  
    postPatch = ''
      sed -i -e 's%"\(/usr/sbin\|/usr/pkg/sbin\|/usr/local/sbin\)/[^"]*",%%g' ./src/nm-l2tp-service.c
  