Skip to content

Commit

Permalink
fix: nix builds for the mkube crate
Browse files Browse the repository at this point in the history
Changes:
- Minor changes to the crate description. Build inputs were badly defined and
lead to a failed build, this is now fixed.

The changes have been tested.

Ref: Part of #8
  • Loading branch information
fusetim committed Jul 30, 2023
1 parent d8fa3fc commit ee39edc
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,18 @@
nativeBuildInputs = [pkgs.pkg-config];

buildInputs = [
# Add additional build inputs here
(toolchain.withComponents [
"cargo"
"rustc"
])
pkgs.ffmpeg
pkgs.ffmpeg.dev
pkgs.ffmpeg.lib
pkgs.llvmPackages_latest.libclang
pkgs.rustPlatform.bindgenHook
pkgs.openssl
pkgs.samba
pkgs.samba.dev
] ++ lib.optionals pkgs.stdenv.isDarwin [
# Additional darwin specific inputs can be set here
pkgs.libiconv
Expand All @@ -78,16 +89,7 @@

nativeBuildInputs = [ pkgs.pkg-config ];

buildInputs = commonArgs.buildInputs ++ [
pkgs.ffmpeg
pkgs.ffmpeg.dev
pkgs.ffmpeg.lib
pkgs.llvmPackages_latest.libclang
pkgs.rustPlatform.bindgenHook
pkgs.openssl
pkgs.samba
pkgs.samba.dev
];
buildInputs = commonArgs.buildInputs ++ [];
});
in
{
Expand Down

0 comments on commit ee39edc

Please sign in to comment.