Skip to content

Commit

Permalink
google-amber: fix build on Darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
reckenrode committed Jul 21, 2022
1 parent 8087d35 commit 3580e41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pkgs/tools/graphics/amber/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
, fetchFromGitHub
, cmake
, pkg-config
, cctools
, python3
, vulkan-headers
, vulkan-loader
Expand Down Expand Up @@ -63,6 +64,8 @@ stdenv.mkDerivation rec {
cmake
pkg-config
python3
] ++ lib.optionals stdenv.isDarwin [
cctools
];

# Tests are disabled so we do not have to pull in googletest and more dependencies
Expand Down
4 changes: 3 additions & 1 deletion pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,9 @@ with pkgs;

gtklp = callPackage ../tools/misc/gtklp { };

google-amber = callPackage ../tools/graphics/amber { };
google-amber = callPackage ../tools/graphics/amber {
inherit (darwin) cctools;
};

hakrawler = callPackage ../tools/security/hakrawler { };

Expand Down

0 comments on commit 3580e41

Please sign in to comment.