Setting the hash to null is a convenient way to bypass the hash check
while developing. It looks like the ability to do this was inadvertently
removed while adding vendor directory support.
This still checks that the user is explicitly setting the value but
allows null as a valid option.
The required argument 'hostPlatform' was missing from linuxPackages_custom's
call to linuxManualConfig.
In order to prevent this in the future, this commit adds
linuxPackages_custom_tinyconfig_kernel so linuxPackages_custom gets tested.
This also adds linuxConfig, to derivate default linux configurations
via make defconfig, make tinyconfig, etc.
Closes#38034.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/getmail/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail-wrapped --version’ and found version 5.6
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail --version’ and found version 5.6
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail-gmail-xoauth-tokens-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail-gmail-xoauth-tokens-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail-gmail-xoauth-tokens -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail-gmail-xoauth-tokens --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_fetch-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_fetch-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_fetch-wrapped --version’ and found version 5.6
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_fetch -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_fetch --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_fetch --version’ and found version 5.6
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_maildir-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_maildir-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_maildir -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_maildir --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_mbox-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/.getmail_mbox-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_mbox -h’ got 0 exit code
- ran ‘/nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6/bin/getmail_mbox --help’ got 0 exit code
- found 5.6 with grep in /nix/store/m5b7cgi58ahzp7n1j6x7gjxjm77fsj9i-getmail-5.6
- directory tree listing: https://gist.github.com/05a73027c43a157053c33c4886d466f8
This allows the lib fixed point to be extended with
myLib = lib.extend (self: super: {
foo = "foo";
})
With this it's possible to have the new modified lib attrset available to all
modules when using evalModules
myLib.evalModules {
modules = [ ({ lib, ... }: {
options.bar = lib.mkOption {
default = lib.foo;
};
}) ];
}
=> { config = { bar = "foo"; ... }; options = ...; }
This patch is heavily inspired by bd0d8ed807 which added
a setcap wrapper for `mtr` in order to allow running `mtr` without
`sudo`. The need for the capability `cap_net_raw` that can be registered using
`setcap` has been documented in the Arch Wiki: https://wiki.archlinux.org/index.php/Capabilities#iftop
A simple testcase has been added which starts two machines, one with a
setcap wrapper for `iftop`, one without. Both testcases monitor the
bandwidth usage of the machine using the options `-t -s 1` once, the
machine with setcap wrapper is expected to succeed, the `iftop` on the
machine without setcap wrapper is expected to return a non-zero exit
code.
Upstream requested that we remove these packages until the first stable
release. More details are in #38344. This isn't ideal but it seems like
the best solution for now.
Close#38344.
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/notmuch/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/05v4k89ni4phwyxvqskr0hji49b5fmck-notmuch-0.26.1/bin/notmuch --help’ got 0 exit code
- ran ‘/nix/store/05v4k89ni4phwyxvqskr0hji49b5fmck-notmuch-0.26.1/bin/notmuch help’ got 0 exit code
- ran ‘/nix/store/05v4k89ni4phwyxvqskr0hji49b5fmck-notmuch-0.26.1/bin/notmuch --version’ and found version 0.26.1
- found 0.26.1 with grep in /nix/store/05v4k89ni4phwyxvqskr0hji49b5fmck-notmuch-0.26.1
- directory tree listing: https://gist.github.com/adeae189f9ac416571a7c0e3beca712f
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/openttd/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd -h’ got 0 exit code
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd --help’ got 0 exit code
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/openttd help’ got 0 exit code
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped -h’ got 0 exit code
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped --help’ got 0 exit code
- ran ‘/nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0/bin/.openttd-wrapped help’ got 0 exit code
- found 1.8.0 with grep in /nix/store/m11nsq51szvkzqnlsb3k7skqzh2781jp-openttd-1.8.0
- directory tree listing: https://gist.github.com/8f8e59bc7bf394685911bd755a16c0a9
symlink shared libraries from LD_LIBRARY_PATH into lib/julia,
as using a wrapper with LD_LIBRARY_PATH causes segmentation
faults when program returns an error:
$ julia -e 'throw(Error())'
only applied for 0.6, which is the current julia version. Will
see if we can remove the older versions in master.
(cherry picked from commit 41f3a4e003)