summaryrefslogtreecommitdiff
path: root/flake.lock
AgeCommit message (Collapse)Author
2024-05-28build(nix): use crane to build packagesThomas Mühlbacher
this enables faster incremental rebuilds in nix. it also allows us to add clippy and cargo test checks more easily. aside from that, i have tried to carry over things that i think are sensible from the previous `mkDerivation` call. the `checkPhase` may as well rather be done in a `installCheckPhase` and we can set `enableParallelBuilding` to speed up the compilation of `libbcachefs.a`.
2024-05-27build(nix): enable rustfmt check+formatterThomas Mühlbacher
with this, the gh actions ci will fail if submitted code does not adhere to rustfmt rules. additionally, running `nix fmt` will also format rust code. because we want rules only supported by nightly rustfmt, and nixpkgs doesn't have a nightly toolchain, we need to pull in another flake input: fenix.
2024-05-22build(nix): add treefmt-nixThomas Mühlbacher
currently still bare but can be extended with a number of different formatters (rustfmt, clang-format, ...). For full list see https://flake.parts/options/treefmt-nix Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-05-22build(nix): replace flake-utils with flake-partsThomas Mühlbacher
it also provides a way for abstracting `system` and provides optional modules, like treefmt-nix. Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2024-05-22build(flake.lock): updateThomas Mühlbacher
Flake lock file updates: • Updated input 'nixpkgs': 'github:nixos/nixpkgs/fa804edfb7869c9fb230e174182a8a1a7e512c40' (2023-11-02) → 'github:nixos/nixpkgs/3eaeaeb6b1e08a016380c279f8846e0bd8808916' (2024-05-21) • Updated input 'utils': 'github:numtide/flake-utils/ff7b65b44d01cf9ba6a71320833626af21126384' (2023-09-12) → 'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11) Signed-off-by: Thomas Mühlbacher <tmuehlbacher@posteo.net>
2023-11-09nix: fix build add overlay and formatter to flakeFinn Behrens
Adds overlay flake output to expose the bcachefs package and add and run a nix formatter. Co-authored-by: Leona Maroni <dev@leona.is> Signed-off-by: Leona Maroni <dev@leona.is> Signed-off-by: Finn Behrens <me@kloenk.de>
2023-06-16flake.lock: UpdateJörg Thalheim
This is needed so that nix-update can update cargo dependencies. Flake lock file updates: • Updated input 'nixpkgs': 'github:nixos/nixpkgs/b1f87ca164a9684404c8829b851c3586c4d9f089' (2023-02-25) → 'github:nixos/nixpkgs/0eeebd64de89e4163f4d3cf34ffe925a5cf67a05' (2023-06-12) • Updated input 'utils': 'github:numtide/flake-utils/3db36a8b464d0c4532ba1c7dda728f4576d6d073' (2023-02-13) → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31) • Added input 'utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
2023-02-27nix fix up! Rust now integrated into bcachefs binaryDaniel Hill
Heavily simplified to just call make with the required rust dependencies. Signed-off-by: Daniel Hill <daniel@gluo.nz>
2023-02-02nix: fix compilation issuesDaniel Hill
Update Cargo.lock files to match new dependancies Bump nixpkgs pin
2023-01-03nix: overhaul build system.Daniel Hill
Removed outdated overlay. Simply build tooling using bingenHook and propagated*Inputs Signed-off-by: Daniel Hill <daniel@gluo.nz>
2021-10-18add nix flake with checks, overlay, and default packageKayla Firestack