1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 02:21:16 +02:00

Use positive source filtering for the Perl bindings

This commit is contained in:
John Ericson 2023-10-09 07:56:59 -04:00
parent 47b3508665
commit 6654b4e3b4
2 changed files with 16 additions and 2 deletions

View file

@ -477,7 +477,15 @@
passthru.perl-bindings = with final; perl.pkgs.toPerlModule (currentStdenv.mkDerivation {
name = "nix-perl-${version}";
src = self;
src = fileset.toSource {
root = ./.;
fileset = fileset.intersect baseFiles (fileset.unions [
./perl
./.version
./m4
./mk
]);
};
nativeBuildInputs =
[ buildPackages.autoconf-archive