Skip to content

Commit

Permalink
setting luarocks-nix url to github
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Jan 28, 2018
1 parent e77a7c7 commit 288506e
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions pkgs/top-level/lua-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,14 @@ let
};

luarocks-nix = luarocks.overrideAttrs(old: {
# src = fetchFromGitHub {
# owner="teto";
# repo="luarocks";
# # rev=
# branchName="nix";
# sha256 = "0vpji9a7ab6g3k30hqc4pz8yr51zn455pyfppq9ywqkllmjq0ypw";
# };
src=/home/teto/luarocks;
src = fetchFromGitHub {
owner="teto";
repo="luarocks";
rev="a0a90e19d6989981a6a58c2faaf2bbcfb90e3b00";
sha256 = "0vpji9a7ab6g3k30hqc4pz8yr51zn455pyfppq9ywqkllmjq0ypw";
};
# src=/home/teto/luarocks;
propagatedBuildInputs=old.propagatedBuildInputs ++ [ ];
# inherit lua;
# src
# shellHook=''
# export PATH="src/bin:''${PATH:-}"
# export LUA_PATH="?.lua;''${LUA_PATH:-}"
# export LUA_CPATH="?.so;''${LUA_CPATH:-}"
# '';
});

cjson = callPackage ../development/lua-modules/cjson {
Expand Down

0 comments on commit 288506e

Please sign in to comment.