diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:56:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:56:00 -0500 |
commit | 0c25c3fd13ae8c35068e64d191db4f0d6e7a474c (patch) | |
tree | 38ecc77e0ec9c2b756aecac2d9b6ac6c44b4ec9f /pkgs/tools/misc/mutagen/default.nix | |
parent | f3c3ecae33c4c4914e91c6df1170de58c7968a47 (diff) | |
download | nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar.gz nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar.bz2 nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar.lz nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar.xz nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.tar.zst nixpkgs-0c25c3fd13ae8c35068e64d191db4f0d6e7a474c.zip |
mutagen: fix build on darwin
Diffstat (limited to 'pkgs/tools/misc/mutagen/default.nix')
-rw-r--r-- | pkgs/tools/misc/mutagen/default.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/tools/misc/mutagen/default.nix b/pkgs/tools/misc/mutagen/default.nix index 8940fef2a0d..c029f38acb2 100644 --- a/pkgs/tools/misc/mutagen/default.nix +++ b/pkgs/tools/misc/mutagen/default.nix @@ -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}"; |