Commit Graph

8 Commits

Author SHA1 Message Date
Daniil Nartsissov
30303a8cbd chore(nix): fix and update flake (#2252) 2026-06-10 14:41:39 +02:00
GamerBene19
eaf53f3d81 chore: fix and update nix flake (#1426) 2026-02-04 10:36:23 +01:00
thedb
18486098d5 fix: Fixing flake (#1214)
Moving to the Rust toolchain provided by nixpkgs, and lowering the scope
of what the flake is supposed to do should prevent it from breaking
again.
2025-11-19 14:45:31 +01:00
KP64
80d0482c78 build: nix user development simplification (#1141)
* chore: add treewide nix formatting

This allows nix users to format more filetypes than just the `.nix` files. Treefmt-nix is partitioned to a `dev` flake. Refer to the corresponding flake description as to why this was done.

* style: nix fmt

* build: nix caching, sync nix toolchain to rust-toolchain.toml

Nix triggers a full rebuild on any file change. Even for changes on 'non src' relevant files, like e.g. the readme file. This fixes the caching issues, syncs the 'nixified' rust toolchain with the rust-toolchain.toml file, and moves checks and devShells to the development partition.

* chore: add rust-analyzer and rust-src components

Unless the rust-analyzer & rust-src components are installed somewhere else developers will not have a LSP and the rust std docs available. This installs those components for the specified channel, which is especially useful for Nix users.

* chore: remove taplo

Taplo defaults to 2 Spaces, but setting them to 4 doesn't work either for whatever reason. Therefore the removal.

* style: 4 instead of 2 spaces

Reverts the "mistake" by the taplo formatter

* chore: re-add taplo but with 4 spaces

* style: revert unnecessary Cargo.toml formatting
2025-08-21 10:03:27 +02:00
CrabbyDisk
ea2678a235 Fix broken nix flake, add rust-analyzer to devshell and move to fenix from rust-overlay (#1126) 2025-08-15 10:02:05 +02:00
Rafael
70dd33eb09 fix: Add rust-src as extension (#1001) 2025-07-03 09:26:29 +02:00
Maurice
eae230941b Update nix flake (#933)
rustc: 1.85.0 -> 1.87.0
2025-06-24 08:17:27 +02:00
Eveeifyeve
ab3356afa3 Nix flake (#758)
* Added Flake for nix

* Removed Cargo lock from ignore

As it's now reccomended by rust team to keep it in repo as well as nix
needs it fetch dependacies for nix run

* Added Nix Compatbilty for package

I forgot to add it that's why this commit is here.

* Made flake minimal
2025-05-10 12:46:42 +02:00