Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nixey #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Nixey #12

wants to merge 1 commit into from

Conversation

nyawox
Copy link

@nyawox nyawox commented May 28, 2024

Just for the sake of keeping Nixey :smiesmie:
Clone the repository, navigate to the cloned directory with cd oxeylyzer, then execute nix run. Alternatively, you can use direnv allow to enter the devshell and proceed with cargo run --release as usual.

Unfortunately, I was unable to make nix run --refresh github:nyawox/oxeylyzer/nixey or installing it as a package on NixOS work due to oxeylyzer-core/src/weights.rs assuming the repository is locally cloned in the current directory.

~ 
λ nix run --refresh github:nyawox/oxeylyzer/nixey
thread 'main' panicked at oxeylyzer-core/src/weights.rs:63:47:
The config.toml is missing! Help!: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Update: even cargo install --path ./ doesn't seem to make it runnable globally, likely indicating a separate issue.

I didn't add treefmt because I don't know your favorite formatter and linter, perhaps rustfmt and clippy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant