Modified the nix derivation to also put the header file in the output
This commit is contained in:
@@ -12,4 +12,8 @@ pkgs.rustPlatform.buildRustPackage {
|
||||
src = pkgs.lib.cleanSource ./.;
|
||||
cargoLock.lockFile = lockfile;
|
||||
cargoHash = "sha256-BP5oMhpR8a2469DpmyYlyPqfG/ypZCTF+N/hJ9ZSCTQ=";
|
||||
postInstall = ''
|
||||
mkdir -p $out/include
|
||||
cp header/* $out/include/
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user