Commit graph

7 commits

Author SHA1 Message Date
stefan
75c9f5e775 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8bb5646e0bed5dbd3ab08c7a7cc15b75ab4e1d0f?narHash=sha256-SqUuBFjhl/kpDiVaKLQBoD8TLD%2B/cTUzzgVFoaHrkqY%3D' (2025-11-30)
  → 'github:NixOS/nixpkgs/078d69f03934859a181e81ba987c2bb033eebfc5?narHash=sha256-9yA/LIuAVQq0lXelrZPjLuLVuZdm03p8tfmHhnDIkms%3D' (2026-01-22)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/03473e2af8a4b490f4d2cdb2e4d3b75f82c8197c?narHash=sha256-YDtl/9w71m5WcZvbEroYoWrjECDhzJZLZ8E68S3BYok%3D' (2025-02-11)
  → 'github:oxalica/rust-overlay/22da29e7f3d8cff75009cbbcf992c7cb66920cfd?narHash=sha256-gu6oZ86zLudBZMq8LL1qdtYt/S69GV5keQVXdvBrVSU%3D' (2026-01-24)
2026-02-02 20:51:44 -05:00
stefan
1fa632c291 nix: add overlay, remove flake-parts, and other changes
Most of the changes are heavily inspired by the structure of Niri's
flake.nix.
- add overlay
- add formatter for nix
- remove flake-parts
- use rust-overlay only for the dev shell. end users can set `inputs.rust-overlay.follows = ""` to skip downloading it.
- add rust-analyzer and rust-src extensions in the dev shell
- filter the source in order to reduce rebuilds
- support all Linux systems that the nixpkgs flake exposes
- override VERGEN_GIT_DESCRIBE to include the git rev as well
- remove `clangStdenv` from the dev shell.  I'm not sure what purpose it served. If the intention was faster linking with lld, then it's not needed anymore, now that lld has become the default linker in rust 1.90.0.
2026-02-02 20:51:44 -05:00
pipsuko
1b918e29b4 Update flake.lock to nixpkgs 25.11 2025-12-02 19:17:55 -05:00
yuko1101
a9188e70bd nix: upgrade nixpkgs to 25.05 to fix build issue 2025-10-05 19:31:24 -04:00
Shawn Wallace
a492d2854f cargo and nix update 2025-02-10 23:08:39 -05:00
Shawn Wallace
3944c9a0e4 Update nix flake
Closes #77
2025-01-25 15:38:14 -05:00
Gavin
07d3cb9820
add: nix flake (#53) 2024-09-14 11:09:49 -04:00