diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/misc/zola/default.nix')
-rw-r--r-- | nixpkgs/pkgs/applications/misc/zola/default.nix | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/nixpkgs/pkgs/applications/misc/zola/default.nix b/nixpkgs/pkgs/applications/misc/zola/default.nix index 52e3b9d847df..6c24f65d7624 100644 --- a/nixpkgs/pkgs/applications/misc/zola/default.nix +++ b/nixpkgs/pkgs/applications/misc/zola/default.nix @@ -1,4 +1,15 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, cmake, pkg-config, openssl, oniguruma, CoreServices, installShellFiles }: +{ lib +, stdenv +, fetchFromGitHub +, rustPlatform +, cmake +, pkg-config +, openssl +, oniguruma +, CoreServices +, installShellFiles +, libsass +}: rustPlatform.buildRustPackage rec { pname = "zola"; @@ -13,9 +24,18 @@ rustPlatform.buildRustPackage rec { cargoSha256 = "1hg8j9a8c6c3ap24jd96y07rlp4f0s2mkyx5034nlnkm3lj4q42n"; - nativeBuildInputs = [ cmake pkg-config installShellFiles]; - buildInputs = [ openssl oniguruma ] - ++ lib.optional stdenv.isDarwin CoreServices; + nativeBuildInputs = [ + cmake + pkg-config + installShellFiles + ]; + buildInputs = [ + openssl + oniguruma + libsass + ] ++ lib.optionals stdenv.isDarwin [ + CoreServices + ]; RUSTONIG_SYSTEM_LIBONIG = true; |