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 = ...; }
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/gdbm/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbmtool -h’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbmtool --help’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbmtool help’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbm_load -h’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbm_load --help’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbm_dump -h’ got 0 exit code
- ran ‘/nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1/bin/gdbm_dump --help’ got 0 exit code
- found 1.14.1 with grep in /nix/store/rxca8g769fj1zydp1673w0v09605a5ak-gdbm-1.14.1
- directory tree listing: https://gist.github.com/fdbeceb9acdfc810ba2c598902e40881
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/hdf5-threadsafe/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5diff --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5ls --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5dump --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5mkgrp --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5clear --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5import -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5import -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5repack --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5jam -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5unjam -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5copy --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5format_convert --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat -h’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat --help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat -V’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5stat --version’ and found version 1.10.2
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5perf_serial help’ got 0 exit code
- ran ‘/nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2/bin/h5cc --help’ got 0 exit code
- found 1.10.2 with grep in /nix/store/29yg9dx5p3ppcvyz7fk2lb14hmmy2slj-hdf5-1.10.2
- directory tree listing: https://gist.github.com/aedb29e367d0b709b77bbdc794b96dd6
This patch is heavily inspired by bd0d8ed807d29faa3deee96bafcbbd76c8fa4060 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.
The `clementine` package is actually released under Apache license, but
requires the unfree `libspotify` package to build.
Now `nixpkgs.clementine` points to the free derivation and
`nixpkgs.clementineUnfree` has been introduced for the package bundled
with spotify support.
Fixes#38315