Since 03eaa48 added perl.withPackages, there is a canonical way to
create a perl interpreter from a list of libraries, for use in script
shebangs or generic build inputs. This method is declarative (what we
are doing is clear), produces short shebangs[1] and needs not to wrap
existing scripts.
Unfortunately there are a few exceptions that I've found:
1. Scripts that are calling perl with the -T switch. This makes perl
ignore PERL5LIB, which is what perl.withPackages is using to inform
the interpreter of the library paths.
2. Perl packages that depends on libraries in their own path. This
is not possible because perl.withPackages works at build time. The
workaround is to add `-I $out/${perl.libPrefix}` to the shebang.
In all other cases I propose to switch to perl.withPackages.
[1]: https://lwn.net/Articles/779997/
Idea shamelessly stolen from 4e60b0efae.
I realized that I don't really know anymore where I'm listed as maintainer and what
I'm actually (co)-maintaining which means that I can't proactively take
care of packages I officially maintain.
As I don't have the time, energy and motivation to take care of stuff I
was interested in 1 or 2 years ago (or packaged for someone else in the
past), I decided that I make this explicit by removing myself from several
packages and adding myself in some other stuff I'm now interested in.
I've seen it several times now that people remove themselves from a
package without removing the package if it's unmaintained after that
which is why I figured that it's fine in my case as the affected pkgs
are rather low-prio and were pretty easy to maintain.
There ver very many conflicts, basically all due to
name -> pname+version. Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job. There might be some fallback to these
conflicts, but I believe it should be minimal.
Hydra nixpkgs: ?compare=1538299
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/feh/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/feh -h’ got 0 exit code
- ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/feh --help’ got 0 exit code
- ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/.feh-wrapped -h’ got 0 exit code
- ran ‘/nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1/bin/.feh-wrapped --help’ got 0 exit code
- found 2.26.1 with grep in /nix/store/n3q1mfdip3l49wx7dh293pwrxqhlrqgd-feh-2.26.1
- directory tree listing: https://gist.github.com/1e8258220f00de69ea28c57fffe352aa
- du listing: https://gist.github.com/65e35fd7395eca9058de10721f96b7d3
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh -h` got 0 exit code
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh --help` got 0 exit code
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh -v` and found version 2.25.1
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/feh --version` and found version 2.25.1
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped -h` got 0 exit code
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped --help` got 0 exit code
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped -v` and found version 2.25.1
- ran `/nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1/bin/.feh-wrapped --version` and found version 2.25.1
- found 2.25.1 with grep in /nix/store/cyjk3r8pig6cypvfv4fwx888ml4zd4vs-feh-2.25.1
- directory tree listing: https://gist.github.com/6fb1817519334ef951e6661a3c41dda6
Semi-automatic update. These checks were performed:
- built on NixOS
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/feh -h` got 0 exit code
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/feh --help` got 0 exit code
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/feh -v` and found version 2.23.2
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/feh --version` and found version 2.23.2
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/.feh-wrapped -h` got 0 exit code
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/.feh-wrapped --help` got 0 exit code
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/.feh-wrapped -v` and found version 2.23.2
- ran `/nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2/bin/.feh-wrapped --version` and found version 2.23.2
- found 2.23.2 with grep in /nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2
- found 2.23.2 in filename of file in /nix/store/9r2xpmvwq8vslxz1p3kv7x0ia0j2ghkx-feh-2.23.2