Skip to content

Commit 96ef69a

Browse files
hamishmackpranaysashank
authored andcommitted
Expose the nix-tools as flake apps (input-output-hk#2251)
1 parent 8d4aef0 commit 96ef69a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

flake.nix

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@
7474
overlays = [ self.overlay ];
7575
localSystem = { inherit system; };
7676
});
77+
78+
apps = forEachSystemPkgs (pkgs:
79+
builtins.mapAttrs (name: exe: {
80+
type = "app";
81+
program = exe + "/bin/${name}";
82+
}) pkgs.haskell-nix.nix-tools.exes
83+
);
7784
};
7885

7986
# --- Flake Local Nix Configuration ----------------------------

0 commit comments

Comments
 (0)