Mark nix-perl as a Perl module

The call to perl.withPackages in nix-serve expects this.
This commit is contained in:
Eelco Dolstra 2022-05-30 14:01:35 +02:00
parent 948515efb7
commit 452dba510d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -348,7 +348,7 @@
strictDeps = true;
passthru.perl-bindings = with final; currentStdenv.mkDerivation {
passthru.perl-bindings = with final; perl.pkgs.toPerlModule (currentStdenv.mkDerivation {
name = "nix-perl-${version}";
src = self;
@ -378,7 +378,7 @@
enableParallelBuilding = true;
postUnpack = "sourceRoot=$sourceRoot/perl";
};
});
meta.platforms = systems;
};