chore: Add nix build files
This commit is contained in:
commit
45c3e91560
4 changed files with 121 additions and 0 deletions
17
derivation.nix
Normal file
17
derivation.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
rustPlatform,
|
||||
name,
|
||||
}:
|
||||
(rustPlatform.buildRustPackage {
|
||||
inherit name;
|
||||
|
||||
nativeBuildInputs = with pkgs; [
|
||||
];
|
||||
|
||||
src = lib.cleanSource ./.;
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue