|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkgconfig, openssl, CoreServices, cf-private }: |
|
|
|
|
{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkgconfig, openssl, CoreServices }: |
|
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec { |
|
|
|
|
pname = "zola"; |
|
|
|
@ -14,7 +14,8 @@ rustPlatform.buildRustPackage rec { |
|
|
|
|
cargoSha256 = "1brmlg6nqyls1v62z0fg0km150q9m7h71wy67lidcnw76icmqr24"; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ]; |
|
|
|
|
buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ]; |
|
|
|
|
buildInputs = [ openssl ] |
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin CoreServices; |
|
|
|
|
|
|
|
|
|
postInstall = '' |
|
|
|
|
install -D -m 444 completions/zola.bash \ |
|
|
|
|