Use passthru for perl-bindings, allows Nix patching for Hydra

This allows patching Nix for Hydra with additional overlays, because
`.overrideAttrs` and co. will persist the passthru's
This commit is contained in:
Silvan Mosberger 2021-01-29 18:31:40 +01:00
parent 8a2ce0f455
commit d5acc4865c
No known key found for this signature in database
GPG key ID: E8F1E9EAD284E17D

View file

@ -115,7 +115,7 @@
# 'nix.perl-bindings' packages.
overlay = final: prev: {
nix = with final; with commonDeps pkgs; (stdenv.mkDerivation {
nix = with final; with commonDeps pkgs; stdenv.mkDerivation {
name = "nix-${version}";
inherit version;
@ -163,9 +163,8 @@
installCheckFlags = "sysconfdir=$(out)/etc";
separateDebugInfo = true;
}) // {
perl-bindings = with final; stdenv.mkDerivation {
passthru.perl-bindings = with final; stdenv.mkDerivation {
name = "nix-perl-${version}";
src = self;