Initialize the falling-sand project
This commit is contained in:
parent
772188b470
commit
b414f3e0ea
|
@ -861,6 +861,10 @@ dependencies = [
|
|||
"zune-inflate",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "falling-sand"
|
||||
version = "0.1.0"
|
||||
|
||||
[[package]]
|
||||
name = "fastrand"
|
||||
version = "2.0.1"
|
||||
|
|
28
Cargo.nix
28
Cargo.nix
|
@ -115,6 +115,16 @@ rec {
|
|||
# File a bug if you depend on any for non-debug work!
|
||||
debug = internal.debugCrate { inherit packageId; };
|
||||
};
|
||||
"falling-sand" = rec {
|
||||
packageId = "falling-sand";
|
||||
build = internal.buildRustCrateWithFeatures {
|
||||
packageId = "falling-sand";
|
||||
};
|
||||
|
||||
# Debug support which might change between releases.
|
||||
# File a bug if you depend on any for non-debug work!
|
||||
debug = internal.debugCrate { inherit packageId; };
|
||||
};
|
||||
"file-service" = rec {
|
||||
packageId = "file-service";
|
||||
build = internal.buildRustCrateWithFeatures {
|
||||
|
@ -2754,6 +2764,24 @@ rec {
|
|||
}
|
||||
];
|
||||
|
||||
};
|
||||
"falling-sand" = rec {
|
||||
crateName = "falling-sand";
|
||||
version = "0.1.0";
|
||||
edition = "2021";
|
||||
crateBin = [
|
||||
{
|
||||
name = "falling-sand";
|
||||
path = "src/main.rs";
|
||||
requiredFeatures = [ ];
|
||||
}
|
||||
];
|
||||
# We can't filter paths with references in Nix 2.4
|
||||
# See https://github.com/NixOS/nix/issues/5410
|
||||
src = if ((lib.versionOlder builtins.nixVersion "2.4pre20211007") || (lib.versionOlder "2.5" builtins.nixVersion ))
|
||||
then lib.cleanSourceWith { filter = sourceFilter; src = ./falling-sand; }
|
||||
else ./falling-sand;
|
||||
|
||||
};
|
||||
"fastrand" = rec {
|
||||
crateName = "fastrand";
|
||||
|
|
|
@ -9,6 +9,7 @@ members = [
|
|||
"cyberpunk-splash",
|
||||
"dashboard",
|
||||
"emseries",
|
||||
"falling-sand",
|
||||
"file-service",
|
||||
"fitnesstrax/core",
|
||||
"fitnesstrax/app",
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "falling-sand"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
|
@ -0,0 +1,3 @@
|
|||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
|
@ -81,6 +81,7 @@
|
|||
dashboard = cargo_nix.workspaceMembers.dashboard.build;
|
||||
file-service = cargo_nix.workspaceMembers.file-service.build;
|
||||
fitnesstrax = cargo_nix.workspaceMembers.fitnesstrax.build;
|
||||
falling-sand = cargo_nix.workspaceMembers.falling-sand.build;
|
||||
|
||||
all = pkgs.symlinkJoin {
|
||||
name = "all";
|
||||
|
|
Loading…
Reference in New Issue