Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions flake.lock

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

4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
rust-build-inputs = [
rust-toolchain
pkgs.cargo-release
pkgs.cargo-expand
pkgs.gmp
pkgs.openssl
pkgs.libusb1
Expand Down Expand Up @@ -364,8 +365,9 @@
name = "rust-shell-test";
body = ''
bats test/bats/devshell/rust-shell/closure.test.bats
bats test/bats/devshell/rust-shell/cargo-expand.test.bats
'';
additionalBuildInputs = [ pkgs.bats ];
additionalBuildInputs = [ pkgs.bats ] ++ rust-build-inputs;
};

pre-commit = git-hooks-nix.lib.${system}.run {
Expand Down
4 changes: 4 additions & 0 deletions test/bats/devshell/rust-shell/cargo-expand.test.bats
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@test "cargo expand should be available on PATH" {
run cargo expand --version
[ "$status" -eq 0 ]
}
Loading