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

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