diff options
author | Ethan Edwards <ethan@ethancedwards.com> | 2021-07-11 12:54:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-11 18:54:13 +0200 |
commit | b15ff3e91ebc2510410ed605bfb0f1dcdf230611 (patch) | |
tree | ac364a39deafd53e06cda9ccaf9c459ebc88f66c /pkgs/applications/misc/cobalt | |
parent | 635a1954044fb0dfbcfd857e3289ab12feb41530 (diff) |
cobalt: fix darwin build (#129758)
* cobalt: fix darwin build * Update pkgs/applications/misc/cobalt/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/applications/misc/cobalt')
-rw-r--r-- | pkgs/applications/misc/cobalt/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/misc/cobalt/default.nix b/pkgs/applications/misc/cobalt/default.nix index a9ccc6a8f8706..6e13cc4728e81 100644 --- a/pkgs/applications/misc/cobalt/default.nix +++ b/pkgs/applications/misc/cobalt/default.nix @@ -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; }; } |