1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-24 22:11:15 +02:00

maint: Remove perl bindings from static build for now

This commit is contained in:
Robert Hensing 2025-01-20 14:48:06 +01:00
parent 263a818bee
commit 0c85477f8e

View file

@ -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
];