Initialize the falling-sand project
This commit is contained in:
parent
772188b470
commit
b414f3e0ea
|
@ -861,6 +861,10 @@ dependencies = [
|
||||||
"zune-inflate",
|
"zune-inflate",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "falling-sand"
|
||||||
|
version = "0.1.0"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fastrand"
|
name = "fastrand"
|
||||||
version = "2.0.1"
|
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!
|
# File a bug if you depend on any for non-debug work!
|
||||||
debug = internal.debugCrate { inherit packageId; };
|
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 {
|
"file-service" = rec {
|
||||||
packageId = "file-service";
|
packageId = "file-service";
|
||||||
build = internal.buildRustCrateWithFeatures {
|
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 {
|
"fastrand" = rec {
|
||||||
crateName = "fastrand";
|
crateName = "fastrand";
|
||||||
|
|
|
@ -9,6 +9,7 @@ members = [
|
||||||
"cyberpunk-splash",
|
"cyberpunk-splash",
|
||||||
"dashboard",
|
"dashboard",
|
||||||
"emseries",
|
"emseries",
|
||||||
|
"falling-sand",
|
||||||
"file-service",
|
"file-service",
|
||||||
"fitnesstrax/core",
|
"fitnesstrax/core",
|
||||||
"fitnesstrax/app",
|
"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;
|
dashboard = cargo_nix.workspaceMembers.dashboard.build;
|
||||||
file-service = cargo_nix.workspaceMembers.file-service.build;
|
file-service = cargo_nix.workspaceMembers.file-service.build;
|
||||||
fitnesstrax = cargo_nix.workspaceMembers.fitnesstrax.build;
|
fitnesstrax = cargo_nix.workspaceMembers.fitnesstrax.build;
|
||||||
|
falling-sand = cargo_nix.workspaceMembers.falling-sand.build;
|
||||||
|
|
||||||
all = pkgs.symlinkJoin {
|
all = pkgs.symlinkJoin {
|
||||||
name = "all";
|
name = "all";
|
||||||
|
|
Loading…
Reference in New Issue