Skip to content

emsciptenStdenv: allow reuse without ./autogen.sh #27250

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
Apr 21, 2018

Conversation

ck3d
Copy link
Contributor

@ck3d ck3d commented Jul 9, 2017

The configure phase of emscriptenStdenv expects an ./autogen.sh script,
which is annoying when this step is not needed. Good example is
emscriptenPackages.zlib which needs to override configurePhase.

Testing

I built all emscriptenPackages (json_c, zlib, libxml2) without regression.
Libxml2 still failes and the rest is building, but the output is not usable.

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 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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Sorry, something went wrong.

@mention-bot
Copy link

@ck3d, thanks for your PR! By analyzing the history of the files in this pull request, we identified @qknight, @leenaars and @FRidh to be potential reviewers.

@matthewbauer matthewbauer requested a review from qknight March 19, 2018 17:45
@qknight
Copy link
Member

qknight commented Mar 19, 2018

please rebase your patch and i will merge it. looks good, just compiled everything locally.

The configure phase of emscriptenStdenv exspects an ./autogen.sh script,
which is anoying when this step is not needed. Good example is
emscriptenPackages.zlib which needs to override configurePhase.
@ck3d ck3d force-pushed the fix-emscriptenStdenv-autogen branch from 2ebdbb1 to 38516ba Compare March 20, 2018 20:32
@ck3d
Copy link
Contributor Author

ck3d commented Mar 20, 2018

Rebase done, thanks!

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux labels Mar 20, 2018
@matthewbauer matthewbauer merged commit d7a4998 into NixOS:master Apr 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants