Skip to content

Commit

Permalink
chore(nix): enable r0vm to everyone
Browse files Browse the repository at this point in the history
  • Loading branch information
cfcosta committed Jul 29, 2024
1 parent a591446 commit ab45128
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,26 @@ let
};
};

devShells.default =
mkShell {
inherit (checks.pre-commit) shellHook;
inherit (rust) RUSTFLAGS;
devShells.default = mkShell {
inherit (checks.pre-commit) shellHook;
inherit (rust) RUSTFLAGS;

name = "mu-shell";
name = "mu-shell";

packages = [
rust
checks.pre-commit.enabledPackages
packages = [
rust
checks.pre-commit.enabledPackages
packages.r0vm

final.cargo-nextest
final.cargo-watch
] ++ optionals isLinux [ packages.r0vm ];
final.cargo-nextest
final.cargo-watch
];

RISC0_RUST_SRC = "${rust}/lib/rustlib/src/rust";
RUST_LOG = "info";
}
// optionalAttrs isLinux {
RISC0_EXECUTOR = "ipc";
RISC0_SERVER_PATH = "${packages.r0vm}/bin/r0vm";
};
RUST_LOG = "info";
RISC0_RUST_SRC = "${rust}/lib/rustlib/src/rust";
RISC0_EXECUTOR = "ipc";
RISC0_SERVER_PATH = "${packages.r0vm}/bin/r0vm";
};
in
{
mugraph = {
Expand Down

0 comments on commit ab45128

Please sign in to comment.