zola: aarch64-darwin support fixup

- buildInputs: include libsass unconditionally
- lib.{optional -> optionals}
This commit is contained in:
0x4A6F 2021-09-29 21:56:51 +02:00
parent e4f1de1343
commit 2becca7d44
No known key found for this signature in database
GPG key ID: 8DEDBA5BE07080E1

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;