mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-20 01:38:02 +02:00
flake: Only run tests with x86_64-linux
Should fix an issue where aarch64 was failing.
This commit is contained in:
parent
6b404306bf
commit
707a7e40b6
@ -133,12 +133,17 @@
|
|||||||
(attrNames (readDir ./${directory}))));
|
(attrNames (readDir ./${directory}))));
|
||||||
|
|
||||||
attributeSet =
|
attributeSet =
|
||||||
if directory == "packages" || directory == "tests"
|
if directory == "packages"
|
||||||
then {
|
then {
|
||||||
x86_64-linux = attributeValue;
|
x86_64-linux = attributeValue;
|
||||||
aarch64-linux = aarch64Packages;
|
aarch64-linux = aarch64Packages;
|
||||||
}
|
}
|
||||||
else attributeValue;
|
else
|
||||||
|
if directory == "tests"
|
||||||
|
then {
|
||||||
|
x86_64-linux = attributeValue;
|
||||||
|
}
|
||||||
|
else attributeValue;
|
||||||
in
|
in
|
||||||
(attributeSet);
|
(attributeSet);
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user