From d5861c87e1f176799787c77525c88fa7fccb6525 Mon Sep 17 00:00:00 2001 From: haxala1r Date: Tue, 30 Dec 2025 13:54:28 +0300 Subject: [PATCH] Modified the nix derivation to also put the header file in the output --- default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.nix b/default.nix index 7de6d84..b9662e2 100644 --- a/default.nix +++ b/default.nix @@ -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/ +''; }