anchor.diff:        --replace '"ip ' '"${iproute}/bin/ip '   \
         --replace '"mount ' '"${utillinux}/bin/mount ' \
         --replace '/bin/sh' "${stdenv.shell}"
  +    
  +    substituteInPlace src/launcher/executor.cpp \
  +      --replace '"sh"' '"${bash}/bin/bash"'
  +    
  +    substituteInPlace src/slave/containerizer/mesos/launch.cpp \
  +      --replace '"sh"' '"${bash}/bin/bash"'
  +    
  +    substituteInPlace src/linux/systemd.cpp \
  +      --replace 'os::realpath("/sbin/init")' '"${systemd}/lib/systemd/systemd"'
     '';
   
     configureFlags = [
  
positive.code:     rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
      popd
  
      # optional python dependency for mesos cli 
      pushd src/python/cli
      ${python}/bin/${python.executable} setup.py install \
        --install-lib=$out/lib/${python.libPrefix}/site-packages \
  
negative.code:   soext = if stdenv.system == "x86_64-darwin" then "dylib" else "so";
  
  in stdenv.mkDerivation rec {
    version = "0.27.1";
    name = "mesos-${version}";
  
    enableParallelBuilding = true;
    dontDisableStatic = true;
  
    src = fetchurl {
      url = "mirror://apache/mesos/${version}/${name}.tar.gz";
      sha256 = "147iq7vwi09kqblx1h8r6lkrg9g50i257qk1cph1zr5j3rncz7l8";
    };
  
    patches = [
  