Skip to content

Commit

Permalink
nix: fix inputs and tests in devshell (#52)
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan Cao <70191398+ryanccn@users.noreply.github.com>
  • Loading branch information
cristianoliveira and ryanccn authored Jul 3, 2024
1 parent 0b0e0bc commit 002d6e0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
15 changes: 6 additions & 9 deletions flake.lock

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

7 changes: 3 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,7 @@

rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
inputs.nixpkgs.follows = "nixpkgs";
};
};

Expand Down Expand Up @@ -50,6 +47,8 @@
rustc
cargo
rustfmt

libiconv
];

RUST_BACKTRACE = 1;
Expand Down
3 changes: 3 additions & 0 deletions tests/exec/nonexistent.unix.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ Run with RUST_BACKTRACE=full to include source snippets.
"""

status.code = 1

[env.add]
RUST_BACKTRACE = "0"
3 changes: 3 additions & 0 deletions tests/exec/nonexistent.windows.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ Run with RUST_BACKTRACE=full to include source snippets.
"""

status.code = 1

[env.add]
RUST_BACKTRACE = "0"

0 comments on commit 002d6e0

Please sign in to comment.