Skip to content

Commit

Permalink
maint: Remove perl bindings from static build for now
Browse files Browse the repository at this point in the history
  • Loading branch information
roberth committed Jan 20, 2025
1 parent 263a818 commit 0c85477
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packaging/everything.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ''
Expand Down Expand Up @@ -131,14 +133,16 @@ 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
nix-perl-bindings
]
else [
nix-perl-bindings
]);
]));
installCheckInputs = [
nix-functional-tests
];
Expand Down

0 comments on commit 0c85477

Please sign in to comment.