mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
wakeonlan: Patch and run perl tests
The `pod_spell` test needed to be patched out, as it isn't relevant to packaging and is missing a dependency to run. Removing it allows the rest of the tests to be ran for this package.
This commit is contained in:
parent
b4093a24a8
commit
35d79c7666
@ -14,8 +14,12 @@ perlPackages.buildPerlPackage rec {
|
||||
outputs = [ "out" ];
|
||||
|
||||
nativeBuildInputs = [ installShellFiles ];
|
||||
# checkInputs = [ perl534Packages.TestPerlCritic perl534Packages.TestPod perl534Packages.TestPodCoverage ];
|
||||
doCheck = false; # Missing package for https://github.com/genio/test-spelling to run tests
|
||||
|
||||
checkInputs = [ perlPackages.TestPerlCritic perlPackages.TestPod perlPackages.TestPodCoverage ];
|
||||
# Linting and formatting checks are of no interest for us.
|
||||
preCheck = ''
|
||||
rm -f t/93_pod_spell.t
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
install -Dt $out/bin wakeonlan
|
||||
|
Loading…
Reference in New Issue
Block a user