cobalt: fix darwin build (#129758)
* cobalt: fix darwin build * Update pkgs/applications/misc/cobalt/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
635a195404
commit
b15ff3e91e
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform }:
|
{ lib, stdenv, fetchFromGitHub, rustPlatform, CoreServices }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "cobalt";
|
pname = "cobalt";
|
||||||
|
@ -13,10 +13,13 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "27LcoGBI4elt80uQkTwvToOyEmd2+/3ma5Y32OFrJaw=";
|
cargoSha256 = "27LcoGBI4elt80uQkTwvToOyEmd2+/3ma5Y32OFrJaw=";
|
||||||
|
|
||||||
|
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Static site generator written in Rust";
|
description = "Static site generator written in Rust";
|
||||||
homepage = "https://github.com/cobalt-org/cobalt.rs/";
|
homepage = "https://github.com/cobalt-org/cobalt.rs/";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ethancedwards8 ];
|
maintainers = with maintainers; [ ethancedwards8 ];
|
||||||
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -3889,7 +3889,9 @@ in
|
||||||
|
|
||||||
cloud-utils = callPackage ../tools/misc/cloud-utils { };
|
cloud-utils = callPackage ../tools/misc/cloud-utils { };
|
||||||
|
|
||||||
cobalt = callPackage ../applications/misc/cobalt { };
|
cobalt = callPackage ../applications/misc/cobalt {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) CoreServices;
|
||||||
|
};
|
||||||
|
|
||||||
cocoapods = callPackage ../development/mobile/cocoapods { };
|
cocoapods = callPackage ../development/mobile/cocoapods { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue