Modified the nix derivation to also put the header file in the output

This commit is contained in:
2025-12-30 13:54:28 +03:00
parent 44d041fa16
commit d5861c87e1

View File

@@ -12,4 +12,8 @@ pkgs.rustPlatform.buildRustPackage {
src = pkgs.lib.cleanSource ./.; src = pkgs.lib.cleanSource ./.;
cargoLock.lockFile = lockfile; cargoLock.lockFile = lockfile;
cargoHash = "sha256-BP5oMhpR8a2469DpmyYlyPqfG/ypZCTF+N/hJ9ZSCTQ="; cargoHash = "sha256-BP5oMhpR8a2469DpmyYlyPqfG/ypZCTF+N/hJ9ZSCTQ=";
postInstall = ''
mkdir -p $out/include
cp header/* $out/include/
'';
} }