wayland-headless: Do not run checks on RISC-V
shellcheck requires GHC which cannot be built for RISC-V.
This commit is contained in:
parent
bddc920f08
commit
1647fbdac9
1 changed files with 6 additions and 5 deletions
|
@ -1,14 +1,15 @@
|
||||||
{ ... }: { stdenvNoCC, lib, shellcheck-minimal, runtimeShell, cage }:
|
{ ... }: { stdenvNoCC, hostPlatform, lib, shellcheck-minimal, runtimeShell, cage }:
|
||||||
|
|
||||||
stdenvNoCC.mkDerivation {
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
name = "wayland-headless";
|
name = "wayland-headless";
|
||||||
|
|
||||||
nativeInstallCheckInputs = [ shellcheck-minimal ];
|
nativeInstallCheckInputs = lib.optionals
|
||||||
|
finalAttrs.doInstallCheck [ shellcheck-minimal ];
|
||||||
|
|
||||||
dontUnpack = true;
|
dontUnpack = true;
|
||||||
dontConfigure = true;
|
dontConfigure = true;
|
||||||
dontBuild = true;
|
dontBuild = true;
|
||||||
doInstallCheck = true;
|
doInstallCheck = !hostPlatform.isRiscV64;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
@ -33,4 +34,4 @@ stdenvNoCC.mkDerivation {
|
||||||
meta = {
|
meta = {
|
||||||
inherit (cage.meta) platforms;
|
inherit (cage.meta) platforms;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
|
Loading…
Reference in a new issue