Skip to content

Commit

Permalink
nix: Update rust-flake (multi-crate support)
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jul 13, 2024
1 parent 4bb05f6 commit c9f7626
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
13 changes: 6 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
inputs.cargo-doc-live.flakeModule
];
perSystem = { config, self', pkgs, lib, ... }: {
rust-project.crane.args = {
rust-project.crates."rust-nix-template".crane.args = {
buildInputs = lib.optionals pkgs.stdenv.isDarwin (
with pkgs.darwin.apple_sdk.frameworks; [
IOKit
Expand All @@ -42,7 +42,7 @@
};

devShells.default = pkgs.mkShell {
inputsFrom = [ self'.devShells.rust-nix-template ];
inputsFrom = [ self'.devShells.rust ];
packages = [
pkgs.cargo-watch
config.process-compose.cargo-doc-live.outputs.package
Expand Down

0 comments on commit c9f7626

Please sign in to comment.