mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-23 00:00:02 +03:00
build(nix): minor tweaks
- rm unused function argument - `LIBCLANG_PATH` is superfluous here, this is already handled by `rustPlatform.bindgenHook` for us. - rustc is not directly needed in the `$PATH` for the build but it's good to have in the dev shell.
This commit is contained in:
parent
b362f12add
commit
7f15685517
@ -35,7 +35,6 @@
|
||||
treefmt-nix,
|
||||
fenix,
|
||||
crane,
|
||||
flake-compat,
|
||||
...
|
||||
}:
|
||||
flake-parts.lib.mkFlake { inherit inputs; } {
|
||||
@ -163,8 +162,6 @@
|
||||
config.treefmt.build.devShell
|
||||
];
|
||||
|
||||
LIBCLANG_PATH = "${pkgs.clang.cc.lib}/lib";
|
||||
|
||||
# here go packages that aren't required for builds but are used for
|
||||
# development, and might need to be version matched with build
|
||||
# dependencies (e.g. clippy or rust-analyzer).
|
||||
@ -174,6 +171,7 @@
|
||||
clang-tools
|
||||
clippy
|
||||
rust-analyzer
|
||||
rustc
|
||||
];
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user