diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh')
-rw-r--r-- | nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh b/nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh index 593ee8bbe83e..587d5413c3ed 100644 --- a/nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh +++ b/nixpkgs/pkgs/development/tools/misc/luarocks/setup-hook.sh @@ -6,15 +6,11 @@ _tryRockSpec() { } _trySourceRock() { - if ! [[ "$curSrc" =~ \.src.rock$ ]]; then return 1; fi - export PATH=${unzip}/bin:$PATH - # luarocks expects a clean <name>.rock.spec name to be the package name # so we have to strip the hash renamed="$(stripHash $curSrc)" cp "$curSrc" "$renamed" luarocks unpack --force "$renamed" } - |