Skip to content

Commit

Permalink
luarocks-nix: update
Browse files Browse the repository at this point in the history
  • Loading branch information
teto committed Feb 4, 2019
1 parent 97da325 commit f6ec833
Show file tree
Hide file tree
Showing 4 changed files with 201 additions and 771 deletions.
11 changes: 4 additions & 7 deletions maintainers/scripts/update-luarocks-packages
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ done

# read returns a non-zero return code when it reaches EOF
# so disable the checks just for the 2 read
set +e
read -d '' -r HEADER <<EOM
HEADER="
/* ${GENERATED_NIXFILE} is an auto-generated file -- DO NOT EDIT!
Regenerate it with:
nixpkgs$ ${0} ${GENERATED_NIXFILE}
Expand All @@ -67,14 +66,12 @@ self
self: super:
with self;
{
EOM
"

read -d '' -r FOOTER <<'EOM'
FOOTER="
}
/* GENERATED */
EOM

set -e
"


function convert_pkg () {
Expand Down

0 comments on commit f6ec833

Please sign in to comment.