Skip to content

Commit

Permalink
zon2nix: fix build on Darwin (#365113)
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol authored Dec 16, 2024
2 parents 7223745 + cb34fe7 commit b442653
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/by-name/zo/zon2nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
fetchFromGitHub,
zig_0_11,
nix,
apple-sdk_11,
}:

stdenv.mkDerivation rec {
Expand All @@ -21,6 +22,8 @@ stdenv.mkDerivation rec {
zig_0_11.hook
];

buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];

zigBuildFlags = [
"-Dnix=${lib.getExe nix}"
];
Expand Down

0 comments on commit b442653

Please sign in to comment.