Skip to content

openal-soft: move cmake to nativeBuildInputs #25416

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

Merged
merged 1 commit into from
May 7, 2017

Conversation

lheckemann
Copy link
Member

This allows cross-compiling it.

Motivation for this change

Would not cross-compile beforehand.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

This allows cross-compiling it.
@mention-bot
Copy link

@lheckemann, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dezgeg, @matthewbauer and @ftrvxmtrx to be potential reviewers.

buildInputs = [ cmake ]
nativeBuildInputs = [ cmake ];

buildInputs = []
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the first list should not be necessary.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, but I wrote it that way for stylistic consistency with the NIX_LDFLAGS definition further down. I could get rid of it anyway, should I?

@joachifm joachifm merged commit 5a17c40 into NixOS:master May 7, 2017
@lheckemann lheckemann deleted the openal-soft-cross branch May 7, 2017 18:30
@Mindavi Mindavi added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different platform than they will be used on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants