new file
This commit is contained in:
+22
@@ -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;
|
||||
};
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user