From 0c85477f8e4f77307c9e63ac9d80973370dd46b9 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 20 Jan 2025 14:48:06 +0100 Subject: [PATCH] maint: Remove perl bindings from static build for now --- packaging/everything.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/everything.nix b/packaging/everything.nix index 0b04d2c6d..33d1bec7f 100644 --- a/packaging/everything.nix +++ b/packaging/everything.nix @@ -61,6 +61,8 @@ let nix-store-c nix-util nix-util-c + ] ++ lib.optionals (!stdenv.hostPlatform.isStatic) [ + # Currently fails in static build nix-perl-bindings ]; installPhase = '' @@ -131,6 +133,8 @@ in # (checkInputs must be empty paths??) (runCommand "check-pkg-config" { checked = dev.tests.pkg-config; } "mkdir $out") ] ++ + lib.optionals (!stdenv.hostPlatform.isStatic) ( + # Perl currently fails in static build (if stdenv.buildPlatform.canExecute stdenv.hostPlatform then [ # TODO: add perl.tests @@ -138,7 +142,7 @@ in ] else [ nix-perl-bindings - ]); + ])); installCheckInputs = [ nix-functional-tests ];