flake
This commit is contained in:
19
kube.nix
Normal file
19
kube.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
rustPlatform,
|
||||
lib
|
||||
}:
|
||||
rustPlatform.buildRustPackage {
|
||||
name = "kube";
|
||||
src = lib.fileset.toSource {
|
||||
root = ./.;
|
||||
fileset = lib.fileset.unions [
|
||||
./src
|
||||
./Cargo.toml
|
||||
./Cargo.lock
|
||||
];
|
||||
};
|
||||
|
||||
cargoLock.lockFile = ./Cargo.lock;
|
||||
auditable = false;
|
||||
meta.mainProgram = "kube";
|
||||
}
|
||||
Reference in New Issue
Block a user