zola: aarch64-darwin support fixup

- buildInputs: include libsass unconditionally
- lib.{optional -> optionals}
This commit is contained in:
0x4A6F
2021-09-29 22:15:24 +02:00
parent e4f1de1343
commit 2becca7d44
+2 -2
View File
@@ -32,9 +32,9 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
openssl
oniguruma
] ++ lib.optional stdenv.isDarwin [
CoreServices
libsass
] ++ lib.optionals stdenv.isDarwin [
CoreServices
];
RUSTONIG_SYSTEM_LIBONIG = true;