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

Cross-platform "unixtools" #37840

Merged
merged 152 commits into from Mar 27, 2018
Merged

Cross-platform "unixtools" #37840

merged 152 commits into from Mar 27, 2018

Conversation

matthewbauer
Copy link
Member

@matthewbauer matthewbauer commented Mar 26, 2018

Motivation for this change

This adds compatibility for procps, nettools, and utillinux to non-Linux environments. See #25188 for more info. Still needs better documentation.

jluttine and others added 30 commits December 31, 2017 11:19
When the znapzend module was enabled for the first time with pure =
true; then the list of previous entries is empty, but xargs still tried
to execute a znapzendzetup delete command with no arguments, which made
it fail
The configure script uses the `command` builtin command which is bash
specific while having a "#!/bin/sh" head.

This forces the use nix default shell (bash)

(cherry picked from commit 159a021)
…ng to reference DTD from network and failing.
… from attempting to reference DTD from network and failing.
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- ran `/nix/store/dykj39kcyb4rj6pm347q0djry1q5gh2y-mediainfo-18.03/bin/mediainfo -h` got 0 exit code
- ran `/nix/store/dykj39kcyb4rj6pm347q0djry1q5gh2y-mediainfo-18.03/bin/mediainfo --help` got 0 exit code
- directory tree listing: https://gist.github.com/f5a53e7a582604e5913226a02b977dc6
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 3.14.2 with grep in /nix/store/anzim7y47xa3m530qzq91n9wl8ys1kk2-Mopidy-Iris-3.14.2
- directory tree listing: https://gist.github.com/96a0fc1d9812e5c4e6659fd37c7b21c6
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

- built on NixOS
- Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
- found 5.4 with grep in /nix/store/p24xccx2wm6dls7g36pzdl1m1r3p1x5l-rawtherapee-5.4
- directory tree listing: https://gist.github.com/ea61efad6dd7afad2c60614dd433534d
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/snd/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/caxkfgbcv6kplihpx8gbivz6l5sisnv5-snd-18.2/bin/snd --help` got 0 exit code
- ran `/nix/store/caxkfgbcv6kplihpx8gbivz6l5sisnv5-snd-18.2/bin/snd --version` and found version 18.2
- ran `/nix/store/caxkfgbcv6kplihpx8gbivz6l5sisnv5-snd-18.2/bin/snd --help` and found version 18.2
- found 18.2 with grep in /nix/store/caxkfgbcv6kplihpx8gbivz6l5sisnv5-snd-18.2
- directory tree listing: https://gist.github.com/549e1eef8a929e09d72499dc97a47aa2
Semi-automatic update generated by https://github.com/ryantm/nix-update tools.

This update was made based on information from https://repology.org/metapackage/swiften/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/pfiq18ki0dzdd0zsbvv04sppr4f28fl5-swiften-4.0/bin/swiften-config -h` got 0 exit code
- ran `/nix/store/pfiq18ki0dzdd0zsbvv04sppr4f28fl5-swiften-4.0/bin/swiften-config --help` got 0 exit code
- ran `/nix/store/pfiq18ki0dzdd0zsbvv04sppr4f28fl5-swiften-4.0/bin/swiften-config help` got 0 exit code
- ran `/nix/store/pfiq18ki0dzdd0zsbvv04sppr4f28fl5-swiften-4.0/bin/swiften-config --version` and found version 4.0
- found 4.0 with grep in /nix/store/pfiq18ki0dzdd0zsbvv04sppr4f28fl5-swiften-4.0
- directory tree listing: https://gist.github.com/bf18dc85d27b684315737f90db4a6b64
json 1.8.3 is broken with ruby 2.4
I’d like to be notified of changes so I can ensure the API always follows the same patterns.

Later (more specific) files replace more general codeowners [according to the documentation](https://help.github.com/articles/about-codeowners/), so I also listed `edolstra` and `nbp` again.
For some reason compiling the proper GHC from the binary one eventually
segfaults at some point.

Since it has never worked, just disable it and investigate later.
acme module: update for simp_le v0.8
@matthewbauer
Copy link
Member Author

Merging now, so @Ericson2314 can make his changes. Also working on some documentation but that will go in another PR. (sorry for the large merge!)

@matthewbauer matthewbauer merged commit 75616ce into NixOS:staging Mar 27, 2018
@Mic92
Copy link
Member

Mic92 commented Apr 4, 2018

Is there a pull request for documentation?

@matthewbauer
Copy link
Member Author

Not yet.

@dtzWill
Copy link
Member

dtzWill commented Apr 11, 2018

FWIW looks like hexdump should come from utillinux (or utillinuxMinimal? not sure), it's not available in procps where we currently try to grab it from.

(I'd put together a PR but am currently rebuilding all the things to get to the point where I can test such.. haha)

@matthewbauer
Copy link
Member Author

Ok thanks! I hope none of these tools are used in bootstrapping stdenv. My understanding is utillinuxMinimal only makes sense in those cases (although it does have hexdump, so maybe it would shrink dependencies).

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