Skip to content

Conversation

@ithinuel
Copy link
Member

No description provided.

README.md Outdated
<details open="open">
<summary><h2 style="display: inline-block" id="installation-of-development-dependencies">Installation of development dependencies</h2></summary>

If you are using Nix, you can use the `devShell` made available in `flake.nix`. Otherwise, you can follow these commands (provided you already have [`Rustup`](https://rustup.rs/) installed):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can use Nix without running NixOS, but this information and the flake are going to be of no use to me unless I'm running NixOS.
Some clarification of the target audience would be nice - also keeping in mind that a lot of the folks reading this won't know what Nix/NixOS is and if it's something we need them to install.

Copy link
Member Author

@ithinuel ithinuel May 25, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but this information and the flake are going to be of no use to me unless I'm running NixOS.

🤔 I’m using nix on MacOS and can use flakes there just fine. What would make NixOS required ?

keeping in mind that a lot of the folks reading this won't know what Nix/NixOS is

Do you think a link on Nix would be good enough? eg:

If you are using Nix, you can use the devShell made available in […]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some sort of breadcrumb to help that a nix newbie like me could follow would be nice, yes. :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so i kinda got it to work, but i'm not sure i did it right?
i installed nix, found i needed to add

extra-experimental-features = flakes nix-command

to ~/.config/nix/nix.conf

and then i could run nix develop --command [insert tool i wanted to run]

like

$ nix develop --command cargo run

does that sound like how this is intended to be used?

@thejpster
Copy link
Member

I had flake files in my Neotron repo but in the end I had to take them out because I wasn't testing them and they bit-rotted when I updated stuff.

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.

3 participants