anchor.diff:          configureFlags="$configureFlags --with-lua-include=$lua_inc"
       fi
     '';
  +
  +  buildInputs = [
  +    lua curl makeWrapper which
  +  ];
  +
     postInstall = ''
       sed -e "1s@.*@#! ${lua}/bin/lua$LUA_SUFFIX@" -i "$out"/bin/*
       for i in "$out"/bin/*; do
  
positive.code: }:
  
  let
    s = # Generated upstream information
    rec {
      baseName="luarocks";
      version="2.4.4";
      name="${baseName}-${version}";
      hash="0d7rl60dwh52qh5pfsphgx5ypp7k190h9ri6qpr2yx9kvqrxyf1r";
      url="http://luarocks.org/releases/luarocks-2.4.4.tar.gz";
      sha256="0d7rl60dwh52qh5pfsphgx5ypp7k190h9ri6qpr2yx9kvqrxyf1r";
    };
    buildInputs = [
      lua curl makeWrapper which unzip
    ];
  in
  
  stdenv.mkDerivation {
    inherit (s) name version;
    inherit buildInputs;
    src = fetchurl {
      inherit (s) url sha256;
    };
    patches = [ ./darwin.patch ];
    preConfigure = ''
      lua -e "" || {
  
negative.code:     license = licenses.mit ;
      maintainers = with maintainers; [raskin teto];
      platforms = platforms.linux ++ platforms.darwin;
      downloadPage = "http://luarocks.org/releases/";
      updateWalker = true;
    };
  }
  