Skip to content

Commit

Permalink
build(nix): fix darwin devShell (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
nekowinston authored Nov 11, 2023
1 parent 72297cc commit 218116e
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,19 @@

devShells = forAllSystems (pkgs: rec {
default = pkgs.mkShell {
buildInputs = with pkgs; [
rustc
cargo
gcc
rustfmt
clippy
rust-analyzer
mdbook
mdbook-admonish
node2nix
nodejs
];
buildInputs = with pkgs; ([
rustc
cargo
gcc
rustfmt
clippy
rust-analyzer
mdbook
mdbook-admonish
node2nix
nodejs
]
++ lib.optionals stdenv.isDarwin [libiconv]);
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
};
demo = pkgs.mkShell {
Expand Down

0 comments on commit 218116e

Please sign in to comment.