summaryrefslogtreecommitdiff
path: root/build.nix
AgeCommit message (Collapse)Author
2024-01-16move Rust sources to top level, C sources into c_srcThomas Bertschinger
This moves the Rust sources out of rust_src/ and into the top level. Running the bcachefs executable out of the development tree is now: $ ./target/release/bcachefs command or $ cargo run --profile release -- command instead of "./bcachefs command". Building and installing is still: $ make && make install Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-20nix: add bcachefs-fuse packageFinn Behrens
Add a fuseSupport argument and bcachefs-fuse as flake output with fuse enabled. Signed-off-by: Finn Behrens <me@kloenk.de> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
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-16build.nix: add instruction to keep cargoDeps hashes up-to-dateJörg Thalheim
2023-06-16nix: replace deprecated cargo/rustc aliases with new versionJörg Thalheim
2023-06-15flake.nix: add missing bindgen output hashJörg Thalheim
Signed-off-by: Jörg Thalheim <joerg@thalheim.io>
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>