3
0
Fork 0
forked from mirrors/nixpkgs

mutagen: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:56:00 -05:00
parent f3c3ecae33
commit 0c25c3fd13
2 changed files with 7 additions and 3 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, CoreServices }:
buildGoModule rec {
pname = "mutagen";
@ -13,9 +13,11 @@ buildGoModule rec {
modSha256 = "1r6b4y6civk75if6nljl66pgv5qm7x05qqby1anf7s7cz7d1rc3g";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ CoreServices ];
subPackages = [ "cmd/mutagen" "cmd/mutagen-agent" ];
meta = with lib; {
meta = with stdenv.lib; {
description = "Make remote development work with your local tools";
homepage = "https://mutagen.io/";
changelog = "https://github.com/mutagen-io/mutagen/releases/tag/v${version}";

View file

@ -5308,7 +5308,9 @@ in
munt = libsForQt5.callPackage ../applications/audio/munt { };
mutagen = callPackage ../tools/misc/mutagen { };
mutagen = callPackage ../tools/misc/mutagen {
inherit (pkgs.darwin.apple_sdk.frameworks) CoreServices;
};
mycli = callPackage ../tools/admin/mycli { };