summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index c6360ee..f65c290 100644
--- a/flake.nix
+++ b/flake.nix
@@ -61,5 +61,18 @@
clippy
] ++ cargoBuildInputs;
};
+ apps = let
+ rustlings-app = {
+ type = "app";
+ program = "${rustlings}/bin/rustlings";
+ };
+ in {
+ default = rustlings-app;
+ rustlings = rustlings-app;
+ };
+ packages = {
+ inherit rustlings;
+ default = rustlings;
+ };
});
}