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

unixtools refactor #43259

Merged
merged 499 commits into from Jul 9, 2018
Merged

unixtools refactor #43259

merged 499 commits into from Jul 9, 2018

Conversation

matthewbauer
Copy link
Member

Motivation for this change

This refactors unixtools to make things easier to work with. Also remove watch command in favor of using procps-ng directly.

matthewbauer and others added 30 commits July 5, 2018 11:43
pdfjs: 1.7.225 -> 1.10.100
Resembles idris --noprelude and --nobasepkgs arguments
I have renamed the overlay to “otherPackageSets” because I think that
is more descriptive.

pkgsLocal has been removed because there were concerns that it would
be confusing. None of the other names seemed very useful so I think it
is best to avoid it altogether. pkgsCross is still included,
hopefully, that will not have as much confusion.

pkgsMusl is now available for building Musl packages. It will give you
packages bulit with the Musl libc.

Also added more documentation.

/cc @dezgeg @Ericson2314 @dtzWill
This has been replaced with pkgsi686Linux.callPackage
…ut-qt

recoll: Add support to build without QT
…System more

For example:

nix-repl> pkgsi686Linux.pkgsMusl.hostPlatform.config
"i686-unknown-linux-musl"

nix-repl> pkgsMusl.pkgsi686Linux.hostPlatform.config
"i686-unknown-linux-musl"
This prevent us evaluation on macOS systems where pkgsMusl &
pkgsi686Linux is unsupported.
never built on darwin
This is a small c program used for pairing with a wireless PlayStation 3 controller via bluetooth.
I included a patch that replaces the depricated 'hcitool' command with 'bluetoothctl'.

For further info visit: http://www.pabr.org/sixlinux/
Bold marked applicable changelog entries:

 - Support extended attributes (xattr) in forward mode<Paste>
 - Add -fsck function
 - Fix several symlink race attacks
 - Use memory pools for buffer handling
 - Parallelize file content encryption
 - Use HKDF to derive separate keys for GCM and EME
@zimbatm
Copy link
Member

zimbatm commented Jul 9, 2018

Please be careful when submitting PRs ^_^

@matthewbauer
Copy link
Member Author

matthewbauer commented Jul 9, 2018

Haha yeah the problem here is just that staging is really out-of-date. I can't really base it off of the current staging without making my own PR out-of-date. I wonder if we could get an automated merge of master -> staging to prevent this kind of thing?

meta = {
homepage = https://gitlab.com/procps-ng/procps;
description = "Utilities that give information about processes using the /proc filesystem";
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
license = lib.licenses.gpl2;
platforms = lib.platforms.linux ++ lib.platforms.cygwin;
Copy link
Member

Choose a reason for hiding this comment

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

since it's not linux-specific anymore the package should probably be moved out the the linux folder

Copy link
Member Author

Choose a reason for hiding this comment

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

It's like 95% linux-only. Not sure if it's worth moving just for that?

# system (or very similar like that found in Cygwin). The one
# exception is ‘watch’ which is portable enough to run on pretty much
# any UNIX-compatible system.
, watchOnly ? !(stdenv.isLinux || stdenv.isCygwin) }:
Copy link
Member

Choose a reason for hiding this comment

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

stdenv.isDarwin seems more precise

Copy link
Member Author

Choose a reason for hiding this comment

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

It should work on BSD systems as well at least: http://pkgsrc.se/wip/watch

Copy link
Member Author

Choose a reason for hiding this comment

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

The correct fix for this mess would be for someone to step up and maintain a fork of procps with just watch enabled. But apparently no one has done that and I don't think anyone else wants to.

Copy link
Member

Choose a reason for hiding this comment

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

Another approach might be to have to version of procps-ng: watch only and everything but watch. That would reduce the amount of condition switches.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes that would work but might be a little harder to maintain. The old watch derivation kind of worked like this the only problem was that it was pretty easy for it to become out of date - procps-ng was the only one updated. At least now CI we will have watch built as part of procps.

@matthewbauer matthewbauer merged commit c7e7cd7 into NixOS:staging Jul 9, 2018
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