Skip to content

Commit

Permalink
Merge pull request #210 from urbit/pq/fix-mac-x86-build
Browse files Browse the repository at this point in the history
remove cargo-watch for darwin-x86 because it doesn't build
  • Loading branch information
eamsden authored Feb 9, 2024
2 parents 7372095 + 368f858 commit 888e604
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rust/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@
"rustfmt"
"rust-src"
])
pkgs.cargo-watch
pkgs.bacon
pkgs.iconv
pkgs.llvmPackages.clang
pkgs.pkg-config
pkgs.urcrypt
] ++
(nixpkgs.lib.lists.optional (parsedSystem.kernel.name != "darwin") pkgs.gdb); # nixpkgs won't build gdb for darwin
(nixpkgs.lib.lists.optional (parsedSystem.kernel.name != "darwin") pkgs.gdb) # nixpkgs won't build gdb for darwin
++
(nixpkgs.lib.lists.optional (parsedSystem.kernel.name != "darwin" || parsedSystem.cpu.name != "x86_64") pkgs.cargo-watch); # nixpkgs won't build cargo-watch for darwin-x86
};
}
);
Expand Down

0 comments on commit 888e604

Please sign in to comment.