Commit Graph

12 Commits

Author SHA1 Message Date
Finn Behrens
61134a06fa nix: add devShell
Add a nix devShell output to provide a development environment for nix users.

Signed-off-by: Finn Behrens <me@kloenk.de>
2023-11-09 23:13:43 +01:00
Finn Behrens
813310c343 nix: fix build add overlay and formatter to flake
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-11-09 22:09:33 +01:00
Daniel Hill
bf359ac1ad nix fix up! Rust now integrated into bcachefs binary
Heavily simplified to just call make with the required rust dependencies.

Signed-off-by: Daniel Hill <daniel@gluo.nz>
2023-02-27 16:39:46 +13:00
Kent Overstreet
10c609ac94 fixup! Rust now integrated into bcachefs binary 2023-02-21 03:02:06 -05:00
Daniel Hill
3c39b422ac fixup! nix: overhaul build system.
Signed-off-by: Daniel Hill <daniel@gluo.nz>
2023-01-31 12:10:36 +13:00
Daniel Hill
9a44c6d4d0 nix: overhaul build system.
Removed outdated overlay.
Simply build tooling using bingenHook and propagated*Inputs

Signed-off-by: Daniel Hill <daniel@gluo.nz>
2023-01-03 16:58:55 +13:00
Kayla Firestack
ca3a42a70c flake.nix: add boot stage1 module test, which takes a long time to build
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2021-10-20 14:47:28 -04:00
Kayla Firestack
c229fa7075 flake.nix: add netboot-bcachefs nixosSystem definition
define example bcachefs enabled nixos installer
allows netboot to nixos installer with bcachefs kernel and -tools installed

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2021-10-20 14:47:28 -04:00
Kayla Firestack
fa27037e70 flake.nix: add nixosModules
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2021-10-20 14:47:28 -04:00
Kayla Firestack
96f55bdb32 flake.nix: add mount developer environment
Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2021-10-20 14:47:28 -04:00
Kayla Firestack
1f8fc31ddc split mount into a library crate for rust reuse
update makefile to output shared library and rust build
fix default.nix to properly get the binary name for `ln`ing - move binary to main.rs
add rustfmt and gitignore files
move build.rs file into bch_bindgen for reuse between projects
add outputs to nix flake and checks
add mount.toml to makefile
2021-10-18 16:30:52 -04:00
Kayla Firestack
5625937162 add nix flake with checks, overlay, and default package 2021-10-18 11:30:30 -04:00