From 452dba510de2f500eae35bbb9dfb5ff825ca0351 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 May 2022 14:01:35 +0200 Subject: [PATCH] Mark nix-perl as a Perl module The call to perl.withPackages in nix-serve expects this. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 6e0e4d423..1aa4c4479 100644 --- a/flake.nix +++ b/flake.nix @@ -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; };