mirror of
https://github.com/NixOS/nix
synced 2025-06-25 10:41:16 +02:00
maint: Remove perl bindings from static build for now
This commit is contained in:
parent
263a818bee
commit
0c85477f8e
1 changed files with 5 additions and 1 deletions
|
@ -61,6 +61,8 @@ let
|
||||||
nix-store-c
|
nix-store-c
|
||||||
nix-util
|
nix-util
|
||||||
nix-util-c
|
nix-util-c
|
||||||
|
] ++ lib.optionals (!stdenv.hostPlatform.isStatic) [
|
||||||
|
# Currently fails in static build
|
||||||
nix-perl-bindings
|
nix-perl-bindings
|
||||||
];
|
];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -131,6 +133,8 @@ in
|
||||||
# (checkInputs must be empty paths??)
|
# (checkInputs must be empty paths??)
|
||||||
(runCommand "check-pkg-config" { checked = dev.tests.pkg-config; } "mkdir $out")
|
(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
|
(if stdenv.buildPlatform.canExecute stdenv.hostPlatform
|
||||||
then [
|
then [
|
||||||
# TODO: add perl.tests
|
# TODO: add perl.tests
|
||||||
|
@ -138,7 +142,7 @@ in
|
||||||
]
|
]
|
||||||
else [
|
else [
|
||||||
nix-perl-bindings
|
nix-perl-bindings
|
||||||
]);
|
]));
|
||||||
installCheckInputs = [
|
installCheckInputs = [
|
||||||
nix-functional-tests
|
nix-functional-tests
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue