Merge pull request #1650 from x10an14/fork/add-flake-outputs

feat(flake): Add defaults to commands in flake
This commit is contained in:
liv 2023-09-04 13:41:37 +02:00 committed by GitHub
commit 626e2749a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -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;
};
});
}