diff options
| author | liv <mokou@fastmail.com> | 2023-09-04 13:41:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-04 13:41:37 +0200 |
| commit | 626e2749a6d635f5cb3d9a81f249c9e12638d950 (patch) | |
| tree | f177f2d86832366796f3b97c0d99c10ed2dd9def | |
| parent | b39d896db764289bdd3c782ad0d7c46eec05d91e (diff) | |
| parent | 60b848760033ee3f7a6522929f7b4aa21064c5e2 (diff) | |
Merge pull request #1650 from x10an14/fork/add-flake-outputs
feat(flake): Add defaults to commands in flake
| -rw-r--r-- | flake.nix | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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; + }; }); } |
