Skip to content

Commit

Permalink
Set meta.mainProgram in default.nix
Browse files Browse the repository at this point in the history
This ensures you can use `nix run` directly with the package
  • Loading branch information
bouk authored and kolloch committed Sep 15, 2023
1 parent d069112 commit 2565f4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ pkgs.symlinkJoin {
}
lib.maintainers.andir
];
mainProgram = crate2nix.name;
platforms = lib.platforms.all;
};
postBuild = ''
Expand Down

0 comments on commit 2565f4b

Please sign in to comment.