Skip to content

Commit

Permalink
flake.nix: Provide nava-platform-cli named package/app
Browse files Browse the repository at this point in the history
  • Loading branch information
doshitan committed Jan 8, 2025
1 parent 340b42c commit 5c74d50
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -222,18 +222,22 @@
};
};
in
{
rec {
packages = {
default = pkgs.nava-platform-cli;
nava-platform-cli = pkgs.nava-platform-cli;

docker = pkgs.dockerTools.buildLayeredImage dockerBuildArgs;
dockerStream = pkgs.dockerTools.streamLayeredImage dockerBuildArgs;
};

# nix run .
apps.default = {
type = "app";
program = "${pkgs.nava-platform-cli}/bin/nava-platform";
apps = {
default = apps.nava-platform-cli;
nava-platform-cli = {
type = "app";
program = "${pkgs.nava-platform-cli}/bin/nava-platform";
};
};

devShells = {
Expand Down

0 comments on commit 5c74d50

Please sign in to comment.