Skip to content

Commit

Permalink
Add a recursive version of bundled as well
Browse files Browse the repository at this point in the history
  • Loading branch information
enobayram committed Nov 16, 2023
1 parent 9408ae8 commit 133bee0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@
echo works > $out
'';
default = flake.packages."kda-tool:exe:kda";
bundled = (pkgs.callPackage inputs.nix-exe-bundle {} default).overrideAttrs
(_: {inherit (default) version;});
bundled = (pkgs.callPackage inputs.nix-exe-bundle {} default).overrideAttrs (_: {
inherit (default) version;
passthru.recursive = with hs-nix-infra.lib.recursive system;
wrapRecursiveWithMeta "kda" "${wrapFlake self}.packages.${system}.bundled";
});
in {
# Built by `nix build .`
packages = rec {
Expand Down

0 comments on commit 133bee0

Please sign in to comment.