summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 5dbca5c..791c36f 100644
--- a/flake.nix
+++ b/flake.nix
@@ -60,5 +60,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;
+ };
});
}