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

maintainers/scripts/build.nix: script to build all maintainer packages #86436

Merged
merged 1 commit into from May 9, 2020
Merged

maintainers/scripts/build.nix: script to build all maintainer packages #86436

merged 1 commit into from May 9, 2020

Conversation

ghost
Copy link

@ghost ghost commented May 1, 2020

Motivation for this change

Add a script that builds all packages by a given maintainer. I use it to check whether all my packages continue to build.
E.g.

$ nix-build maintainers/scripts/build.nix --argstr maintainer gnidorah
/nix/store/dph5syz8vj2mwy3f3qsqv6z4ra6irvq5-ADLplug-1.0.1
/nix/store/30yk2j4pnqp21ac3kc122fn7x1hdz1mi-cde-2.3.2
/nix/store/zpsfv52g05di9fck7w13i2fjrzc4ri9f-gitweb-2.26.1
/nix/store/ldyjxng2z4x6jllygj0hjzna6pfdycm2-gtk-engine-bluecurve-1.0
/nix/store/j7yi0qj1k16nagzp102aqdry0gm68a1v-hotpatch-0.2
/nix/store/290z5harcr71s7qjkzivwa0bzwgxgzm2-kde2-decoration-1.0
/nix/store/071nis4xp6h4d12nb2mghc78898asxrr-kdecoration-viewer-2018-07-24
/nix/store/65fky9mib9kj4racr38yxq234122yrvz-kmsxx-2020-02-14
/nix/store/63f34dm9f2ncdlgasm771jzxabl32abj-qtstyleplugins-2017-03-11
/nix/store/kv342pb5fxgaq3xvx1w0w2jxib337w28-mame-0.220
/nix/store/hsspiwyzjy60l9y5crpxiw0law603ac1-MaXX-2.0.1
/nix/store/7yxxgi9yd3pplsa9b882fvmxvamb37aj-python2.7-me_cleaner-1.2
/nix/store/kv342pb5fxgaq3xvx1w0w2jxib337w28-mame-0.220
/nix/store/a6ly2k1f2jldwyi7mddfxk2clmizclvf-mididings-2015-11-17
/nix/store/qsffvaa0pdindbfz44mryvxlps43jld5-midisheetmusic-2.6
/nix/store/prm6gp0mkx8ppnym2p44knb33v297gbi-munt-2.3.0
/nix/store/npqsxlbggqnfmqrkw2x2ikbddyw9wyvb-mytetra-1.44.55
/nix/store/hvx0rc0cnv2nnq00d5213ip8nfgwy2kc-nas-1.9.4
/nix/store/i2acbm8cfg4w7z4vapjiskr1znykx24v-OpenJK-2019-11-29
/nix/store/4nqa0zlp8aryp1gq230ciqcrql8i7fck-openmpt123-0.4.12
/nix/store/4amvpdzh0girxlajqhnki0nw0sx5pfgv-openmw-tes3mp-2019-11-19
/nix/store/12pmlf4cvj7rnyzjn20xqs9h6xagb0xc-OpenXRay-558
/nix/store/psxwkk85pcpc1jvc5kwsrk7ki4sqxwbg-OPL3BankEditor-1.5
/nix/store/a3id456lj23jli5cj6r2jhkb9q19qw1n-OPN2BankEditor-1.3-beta
/nix/store/89h0giv6ylplc51jdbgmhd221515kgpn-OPNplug-1.0.1
/nix/store/vphwxndrjg48gya8zrncd4s90jrsq5xs-pakcs-2.2.0
/nix/store/m2hd4ps4d87nayq0dhl23c867fjg16hm-phodav-2.4
/nix/store/a7jxm0ijb61xwc5cxivxdnlg623s3l7b-ps_mem-3.13
/nix/store/zgzzhbfmm52pgvln8waa3pdn4178qsp2-python2.7-kmsxx-2020-02-14
/nix/store/1vzsijvadphbl3k3c3r6krmz4brygj28-python2.7-MIDIUtil-1.2.1
/nix/store/pqpmhksw40hfrxbk2jn1iwr8dv03aglb-python2.7-pydbus-0.6.0
/nix/store/zxcz28wc1scl6dlfb4m41f4sm0nqzyvv-python2.7-pysmf-0.1.1
/nix/store/wz4pkn5wbkl4q02jrwarnpm8n9153rjy-python2.7-Python-fontconfig-0.5.1
/nix/store/qmij2703jqifa6fv0a6d7vmpz4afb1z4-python3.7-kmsxx-2020-02-14
/nix/store/p0y8iqq6prx4dn7lc1saij90p1cd9gdz-python3.7-MIDIUtil-1.2.1
/nix/store/p62w45gf2cm6bfivhq318krx45ylm2wy-python3.7-pydbus-0.6.0
/nix/store/7rbdrrcqkfbw8ls1622j3ygfqsbnjcg9-python3.7-pysmf-0.1.1
/nix/store/2r15c41z1sic016wq1im26r5f1pdjjw3-python3.7-Python-fontconfig-0.5.1
/nix/store/dm4jy1vlz6fvpa8lf9n4dj7lzczfm9nq-python3.8-kmsxx-2020-02-14
/nix/store/8r15q9f194fg77dgwg1ih1ylk1pf17y2-python3.8-MIDIUtil-1.2.1
/nix/store/jx75b8rzz7sd2m2hmv8qnw3hlpw7jg5d-python3.8-pydbus-0.6.0
/nix/store/wvfmwdpdkll10jafliv37w98mchsl99s-python3.8-pysmf-0.1.1
/nix/store/2pb73vyr4sjjdxgf3kaf201231914bgj-python3.8-Python-fontconfig-0.5.1
/nix/store/sdb85jb5xbb6mcq9p1xn7d1c5s67bn9h-qdirstat-1.6.1
/nix/store/39b3kdrbzsph8nwi2z62spwl49i7kayr-qtcurve-1.9.1
/nix/store/q8607djw64112kfzw8y62mzp9zivwsvl-rambox-0.7.5
/nix/store/kv342pb5fxgaq3xvx1w0w2jxib337w28-mame-0.220
/nix/store/4jwxw6rbha3rymqm0k840dxxvn1i53d8-twilight-2018-04-19
/nix/store/9mkrrz40gnlnxxsq83xgx01gwnsf40f1-uade123-2.13
/nix/store/0444wj8821lvj5l5yk8ifw80y2h4vl68-video2midi-0.4.0.1
/nix/store/96wp6afh4dnfcccyv7yx9729vnhkn5r1-vk-messenger-5.0.1
/nix/store/d3iwznbsm8x63bwynyxnldxnik05p8c4-vkquake-1.04.1
/nix/store/gyaayjw6nmbbf9kpwdn47xh3q0x7664v-woeusb-3.3.1
/nix/store/gyaayjw6nmbbf9kpwdn47xh3q0x7664v-woeusb-3.3.1
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.

@ghost
Copy link
Author

ghost commented May 9, 2020

@bjornfor Fixed, thanks!

@ghost ghost requested a review from bjornfor May 9, 2020 15:23
@bjornfor bjornfor merged commit d0c3e7b into NixOS:master May 9, 2020
@ghost
Copy link
Author

ghost commented May 10, 2020

@bjornfor Thank you!

@ghost ghost deleted the scripts branch May 10, 2020 04:33
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

1 participant