nix: add libblake to buildInputs; split off nativeBuildInputs
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I0541e803fd9635867501202c18567f786a6a6964
This commit is contained in:
parent
303b211d74
commit
7a74735213
1 changed files with 14 additions and 8 deletions
22
flake.nix
22
flake.nix
|
|
@ -5,14 +5,13 @@
|
|||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
forAllSystems = nixpkgs.lib.genAttrs systems;
|
||||
in {
|
||||
devShells = forAllSystems (system: {
|
||||
default = nixpkgs.legacyPackages.${system}.mkShell {
|
||||
buildInputs = with nixpkgs.legacyPackages.${system}; [
|
||||
cmake
|
||||
pkg-config
|
||||
ninja
|
||||
boost
|
||||
bear
|
||||
devShells = forAllSystems (system: let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
default = pkgs.mkShell {
|
||||
buildInputs = with pkgs; [
|
||||
boost.dev
|
||||
libblake3.dev
|
||||
|
||||
nixVersions.nixComponents_2_32.nix-store
|
||||
nixVersions.nixComponents_2_32.nix-expr
|
||||
|
|
@ -23,6 +22,13 @@
|
|||
nixVersions.nix_2_32
|
||||
];
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
cmake
|
||||
pkg-config
|
||||
ninja
|
||||
bear
|
||||
];
|
||||
|
||||
env = {
|
||||
NIX_PLUGINABI = "0.2";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue