Skip to content

Conversation

@doronbehar
Copy link
Contributor

From some reason, the package is not usable if it's built with buildLuarocksPackage. Adding extraVariables as in makeFlags doesn't work. See:
#89632 (comment)

Now it uses buildLuaPackage as it used to.

cc @teto. I really don't know why is that. If you could find something wrong with "upstream's" rockspec file or my Makefile, please tell me:

I only followed Luarocks' Wiki when I wrote these - https://github.com/luarocks/luarocks/wiki/Rockspec-format .

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added 6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 8.has: clean-up This PR removes packages or removes other cruft 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jun 7, 2020
@jtojnar
Copy link
Member

jtojnar commented Jun 7, 2020

@doronbehar
Copy link
Contributor Author

It was never there - #89632 didn't add it to.

@jtojnar
Copy link
Member

jtojnar commented Jun 7, 2020

Seems to have been added in doronbehar@922de4f. Not sure if the file only contains packages to be generated or it does something different.

From some reason, the package is not usable if it's built with
`buildLuarocksPackage`. Adding `extraVariables` as in `makeFlags`
doesn't work. See:
NixOS#89632 (comment)

Also, remove it from luarocks-packages.csv so hopefully no one will
touch it in the future.
@doronbehar doronbehar force-pushed the lua-pulseaudio-fix branch from a01a6ad to cb9b442 Compare June 8, 2020 05:30
@doronbehar
Copy link
Contributor Author

Seems to have been added in doronbehar/nixpkgs@922de4f. Not sure if the file only contains packages to be generated or it does something different.

These are files to be generated. If I hadn't done so at doronbehar@922de4f, #89632 wouldn't have added it to the generated set.

@doronbehar doronbehar mentioned this pull request Aug 8, 2020
10 tasks
doronbehar added a commit to doronbehar/nixpkgs that referenced this pull request Aug 8, 2020
It's not maintained any more by upstream (by @doronbehar) and it doesn't
build correctly with `buildLuarocksPackage` (see NixOS#89767).
@teto teto closed this in #94939 Aug 8, 2020
teto pushed a commit that referenced this pull request Aug 8, 2020
It's not maintained any more by upstream (by @doronbehar) and it doesn't
build correctly with `buildLuarocksPackage` (see #89767).
@doronbehar doronbehar deleted the lua-pulseaudio-fix branch March 2, 2023 10:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: lua Lua is a powerful, efficient, lightweight, embeddable scripting language. 8.has: clean-up This PR removes packages or removes other cruft 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants