Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua.pkgs.pulseaudio: Move from generated to lua-packages.nix #89767

Closed
wants to merge 1 commit into from

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.

@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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants