forked from mirrors/nixpkgs
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 {
|
||||
pname = "cobalt";
|
||||
|
@ -13,10 +13,13 @@ rustPlatform.buildRustPackage rec {
|
|||
|
||||
cargoSha256 = "27LcoGBI4elt80uQkTwvToOyEmd2+/3ma5Y32OFrJaw=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [ CoreServices ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Static site generator written in Rust";
|
||||
homepage = "https://github.com/cobalt-org/cobalt.rs/";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ ethancedwards8 ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -3889,7 +3889,9 @@ in
|
|||
|
||||
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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue