anchor.diff:      sed -i pppd/plugins/pppoatm/Makefile.linux \
         -i pppd/plugins/rp-pppoe/Makefile.linux \
         -e 's/-m 4550/-m 550/'
  +  '' + /* Fix hardcoded plugin path */ ''
  +    sed -i pppd/pathnames.h \
  +      -e "s,/usr/lib,$out,"
  +  '' + /* Fix hardcoded includes */ ''
  +    sed -i pppd/Makefile.linux \
  +      -e 's,/usr/include/openssl,${openssl}/include/openssl,' \
  +      -e 's,/usr/local/ssl/lib,${openssl}/lib,'
     '';
   
     preBuild = ''
       # Prevent build from creating sbin/
       makeFlagsArray+=("BINDIR=$out/bin")
     '';
  -
  -  NIX_LDFLAGS = [
  -    "-L${stdenv.cc.libc}/lib -lcrypt"
  -  ];
   
     makeFlags = [
       /* Microsoft callback control protocol */
  
positive.code: , curl
  , libpcap
  , linux-headers
  , openssl_1-0-2
  , pam
  }:
  
  
negative.code:     curl
      libpcap
      linux-headers
      openssl
      pam
      stdenv.cc.libc
    ];
  