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:
Ethan Edwards
2021-07-11 18:54:13 +02:00
committed by GitHub
co-authored by Sandro
parent 635a195404
commit b15ff3e91e
2 changed files with 7 additions and 2 deletions
+4 -1
View File
@@ -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;
};
}
+3 -1
View File
@@ -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 { };