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

quickserve: init at 2018 #48083

Merged
merged 2 commits into from Oct 9, 2018
Merged

quickserve: init at 2018 #48083

merged 2 commits into from Oct 9, 2018

Conversation

Lassulus
Copy link
Member

@Lassulus Lassulus commented Oct 8, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: quickserve

Partial log (click to expand)

strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/g6h07l0wvdrrs5qvygjjzsjj7q1srv5z-python3.6-threaded_servers/lib
patching script interpreter paths in /nix/store/g6h07l0wvdrrs5qvygjjzsjj7q1srv5z-python3.6-threaded_servers
checking for references to /build in /nix/store/g6h07l0wvdrrs5qvygjjzsjj7q1srv5z-python3.6-threaded_servers...
building '/nix/store/xv4jihf415ck63lh9apaidi32hfswi17-python3-3.6.6-env.drv'...
created 240 symlinks in user environment
building '/nix/store/ppbdqpx1dn3i0mwzgrp10q062ll4bl75-quickserve.drv'...
building '/nix/store/klx1lyjld2x3ksiqbm75v5yh27xjsqi0-quickserve.drv'...
building
/nix/store/b98zgwqxcwjxd2iwjyk98w5y3c6njivl-quickserve

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: quickserve

Partial log (click to expand)

post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/fx56l26qnzzqbjn0a8vinzd95d09450b-python3.6-threaded_servers/lib
patching script interpreter paths in /nix/store/fx56l26qnzzqbjn0a8vinzd95d09450b-python3.6-threaded_servers
building '/nix/store/y51y8nfjyg8a11jxp018lljz2fylixif-python3-3.6.6-env.drv'...
created 238 symlinks in user environment
building '/nix/store/k1rbwhq93p0rjxikn3aclnzxmlyh5jmz-quickserve.drv'...
building '/nix/store/mn6wpwjrkxbrk3kdcv407z6sm4ic201a-quickserve.drv'...
building
/nix/store/gn66nhx6naif0vlzxcc0d7zc9fqff365-quickserve

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: quickserve

Partial log (click to expand)

strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/cbhrnar9a07xlx599l1y6b0xlgssiznw-python3.6-threaded_servers/lib
patching script interpreter paths in /nix/store/cbhrnar9a07xlx599l1y6b0xlgssiznw-python3.6-threaded_servers
checking for references to /build in /nix/store/cbhrnar9a07xlx599l1y6b0xlgssiznw-python3.6-threaded_servers...
building '/nix/store/gr639zpw3plb4nwpfn12wpz7yqlrvrfh-python3-3.6.6-env.drv'...
created 240 symlinks in user environment
building '/nix/store/lx8hiy2x4mlwbw83kfydm8lzxgx0kg26-quickserve.drv'...
building '/nix/store/n64gr6b1rzxnnjnbiaigs3xx3lhi8a3d-quickserve.drv'...
building
/nix/store/3l3fgkf5kv61d3pr2wlxzydwaysjwq8x-quickserve

@@ -0,0 +1,33 @@
{ stdenv, fetchzip, python3, python3Packages, writeScript }: let
threaded_servers = python3Packages.buildPythonPackage {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be more clean if the threaded_server module is included into pkgs/python-modules instead of inlining it here.

Copy link
Member Author

Choose a reason for hiding this comment

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

IMHO, this would only make sense if it would ever be used by something else than quickserve.
But now threaded_server is basically quickserve.

@Mic92 Mic92 merged commit 0f2869a into NixOS:master Oct 9, 2018
@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: quickserve

Partial log (click to expand)

building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/nnwpzd5k6ybwa8f3ahlrzb6rmpgl4h8g-quickserve
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/nnwpzd5k6ybwa8f3ahlrzb6rmpgl4h8g-quickserve/bin
patching script interpreter paths in /nix/store/nnwpzd5k6ybwa8f3ahlrzb6rmpgl4h8g-quickserve
checking for references to /build in /nix/store/nnwpzd5k6ybwa8f3ahlrzb6rmpgl4h8g-quickserve...
/nix/store/nnwpzd5k6ybwa8f3ahlrzb6rmpgl4h8g-quickserve

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: quickserve

Partial log (click to expand)

configuring
no configure script, doing nothing
building
no Makefile, doing nothing
installing
post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/hn7lzxbpl3z6h9b3x5gzkpmac0a4z35l-quickserve/bin
patching script interpreter paths in /nix/store/hn7lzxbpl3z6h9b3x5gzkpmac0a4z35l-quickserve
/nix/store/hn7lzxbpl3z6h9b3x5gzkpmac0a4z35l-quickserve

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: quickserve

Partial log (click to expand)

building
no Makefile, doing nothing
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/d8559cxss0lrs24vpqiha3lrc1v3yhyw-quickserve
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/d8559cxss0lrs24vpqiha3lrc1v3yhyw-quickserve/bin
patching script interpreter paths in /nix/store/d8559cxss0lrs24vpqiha3lrc1v3yhyw-quickserve
checking for references to /build in /nix/store/d8559cxss0lrs24vpqiha3lrc1v3yhyw-quickserve...
/nix/store/d8559cxss0lrs24vpqiha3lrc1v3yhyw-quickserve

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.

None yet

4 participants