luad

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 73efb4223387a64ae11490648b51c632a98e4737
parent 15aad21535c9c627b87a4e7c3b7481a4aee8c613
Author: Daniel Barlow <dan@telent.net>
Date:   Mon, 11 May 2026 07:32:10 +0100

new file

Diffstat:
Adefault.nix | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/default.nix b/default.nix @@ -0,0 +1,22 @@ +{ + fetchFromGitHub, + lib, + lua, + pkg-config, + rustPlatform, +}: +rustPlatform.buildRustPackage (finalAttrs: { + pname = "luad"; + version = "0.1.0"; + # this enables rust nightly, required for socket scm_rights interface + env.RUSTC_BOOTSTRAP = 1; + src = ./.; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ lua ]; + + cargoLock = { + lockFile = ./Cargo.lock; + }; + +})