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

dashing: init at 2018-02-15 #38813

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Conversation

matthiasbeyer
Copy link
Contributor

Motivation for this change

I want to use this. I'd love if this gets into 18.03 even, but if not I don't care (I can backport locally).

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
    • 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/)
  • Fits CONTRIBUTING.md.

@matthiasbeyer
Copy link
Contributor Author

@GrahamcOfBorg build dashing

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin/bin/dashing
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin/bin
patching script interpreter paths in /nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin
checking for references to /build in /nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/rd5x34k52qqqapz1pzqn7apgv1shzi5w-dashing-unstable-2018-02-15
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/rd5x34k52qqqapz1pzqn7apgv1shzi5w-dashing-unstable-2018-02-15
checking for references to /build in /nix/store/rd5x34k52qqqapz1pzqn7apgv1shzi5w-dashing-unstable-2018-02-15...
/nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/lib/python2.7/site-packages/hgext/fsmonitor/pywatchman/bser.so
gzipping man pages under /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/share/man/
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/lib  /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/bin
patching script interpreter paths in /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2
/nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/share/cgi-bin/hgweb.cgi: interpreter directive changed from "/usr/bin/env python" to "/nix/store/pmsj5p5hj9ylj9lnpd0n1vr37m6kl4sa-python-2.7.14/bin/python"
checking for references to /build in /nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2...
wrapping `/nix/store/c6hc8p15ih0n94id2k1i29xh4yxbzj85-mercurial-4.5.2/bin/.hg-wrapped'...
waiting for locks or build slots...
/nix/store/6vlm6v0pdjb25w55hm701vy2g213aphv-dashing-unstable-2018-02-15-bin

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: dashing

Partial log (click to expand)

cannot build derivation '/nix/store/3b45mzdk3xqy7x34p9y620lchyqiyx3k-developer_cmds-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wr3fl3ll4l3pgifz3698lyjl8iy4ym0f-Librpcsvc-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nwaa10mnmzvm0gyiwfn4bbs2ys1arr3s-system_cmds-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3f048yg586qcqnblins5l366drsp24kb-sysctl.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sqh7lrspifmvzl2xchhrdz2vr7fl0rps-procps-compat.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/idswb6hlmc4hlxmivbvmnf0m497c3j76-go-1.10.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hphlm0s08v3anqafzzj80lx2q8p5gli9-parallel-20180322.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dv1dw5ahhh16sk5944h15z4q43iy6l5a-govers-20150109-3b5f175.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/is3zq6dkxmmh8ajnb585iw1156fh6jl8-dashing-unstable-2018-02-15.drv': 3 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/is3zq6dkxmmh8ajnb585iw1156fh6jl8-dashing-unstable-2018-02-15.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: dashing

Partial log (click to expand)

cannot build derivation '/nix/store/3b45mzdk3xqy7x34p9y620lchyqiyx3k-developer_cmds-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/wr3fl3ll4l3pgifz3698lyjl8iy4ym0f-Librpcsvc-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/nwaa10mnmzvm0gyiwfn4bbs2ys1arr3s-system_cmds-osx-10.11.6.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3f048yg586qcqnblins5l366drsp24kb-sysctl.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/sqh7lrspifmvzl2xchhrdz2vr7fl0rps-procps-compat.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/idswb6hlmc4hlxmivbvmnf0m497c3j76-go-1.10.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hphlm0s08v3anqafzzj80lx2q8p5gli9-parallel-20180322.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/dv1dw5ahhh16sk5944h15z4q43iy6l5a-govers-20150109-3b5f175.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/is3zq6dkxmmh8ajnb585iw1156fh6jl8-dashing-unstable-2018-02-15.drv': 3 dependencies couldn't be built
�[31;1merror:�[0m build of '/nix/store/is3zq6dkxmmh8ajnb585iw1156fh6jl8-dashing-unstable-2018-02-15.drv' failed


goDeps = ./deps.nix;

# TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
Copy link
Member

Choose a reason for hiding this comment

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

Please add at least basic metadata! :)

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin/bin/dashing
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin/bin
patching script interpreter paths in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin
checking for references to /tmp/nix-build-dashing-unstable-2018-02-15.drv-0 in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15
checking for references to /tmp/nix-build-dashing-unstable-2018-02-15.drv-0 in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15...
/nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: dashing

Partial log (click to expand)

/nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin

@matthiasbeyer
Copy link
Contributor Author

Added metadata. I think this is MIT license, I'm not 100% sure though.

Also: I am not the maintainer for reasons I expressed in #38504

@matthiasbeyer
Copy link
Contributor Author

For the record: Now I need to package rsdocs-dashing (a Rust tool) and then parsing rust documentations into dash docsets is possible with nixpkgs-installable tools 😄

@GrahamcOfBorg GrahamcOfBorg added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin and removed 10.rebuild-darwin: 1-10 labels Apr 12, 2018
@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: dashing

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin/bin/dashing
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin/bin
patching script interpreter paths in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin
checking for references to /build in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15
checking for references to /build in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15...
/nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: dashing

Partial log (click to expand)

/nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin

@matthiasbeyer
Copy link
Contributor Author

@dtzWill Anything left to do?

goDeps = ./deps.nix;

# TODO: add metadata https://nixos.org/nixpkgs/manual/#sec-standard-meta-attributes
meta = {
Copy link
Member

Choose a reason for hiding this comment

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

Nitpick, change to meta = with stdenv.lib; { so we can get rid of the stdenv.lib bits below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: dashing

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin/bin/dashing
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin/bin
patching script interpreter paths in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin
checking for references to /build in /nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15
checking for references to /build in /nix/store/v2v46yz84p4l920k390akxdizxs36syv-dashing-unstable-2018-02-15...
/nix/store/pqd0bar3fa597bbpdf0l2446wqg31x06-dashing-unstable-2018-02-15-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: dashing

Partial log (click to expand)

shrinking /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin/bin/dashing
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin/bin
patching script interpreter paths in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin
checking for references to /build in /nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin...
shrinking RPATHs of ELF executables and libraries in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15
strip is /nix/store/j7d4mr0ikv974ig7yzhknpsq288js4bs-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15
checking for references to /build in /nix/store/aypw3aa1hc1717hslmbk1m1cziqyygjg-dashing-unstable-2018-02-15...
/nix/store/7r3im9qp7g3c3a21l2agfpxij4q6gkin-dashing-unstable-2018-02-15-bin

@peterhoeg peterhoeg merged commit 6cc5bd1 into NixOS:master Apr 19, 2018
@peterhoeg
Copy link
Member

Thanks @matthiasbeyer - now the next step is to create docsets for the nix ecosystem! ;-)

@matthiasbeyer matthiasbeyer deleted the add-dashing branch November 9, 2019 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 1-10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants