what a mess

This commit is contained in:
mjallen18
2026-01-20 12:41:45 -06:00
parent fa236b7076
commit 6a9ec8f933

View File

@@ -18,7 +18,11 @@
final,
}:
let
inherit (cachyConfig.versions.linux) version;
version =
if stdenv.isAarch64 then
"6.12.47"
else
cachyConfig.versions.linux.version;
# Single-value optional attr
optionalAttr =
key: pred: value:
@@ -33,7 +37,11 @@ in
randstructSeed
;
inherit (configfile) src;
modDirVersion = lib.versions.pad 3 "${version}${cachyConfig.versions.suffix}";
modDirVersion =
if stdenv.isAarch64 then
"6.12.47"
else
lib.versions.pad 3 "${version}${cachyConfig.versions.suffix}";
inherit config configfile;
allowImportFromDerivation = false;