Skip to content

Commit 39e1901

Browse files
authored
Expose the nix-tools as flake apps (#2251)
1 parent 61fbe40 commit 39e1901

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

flake.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,12 @@
198198
packages = forEachSystemPkgs (pkgs:
199199
(import ./hix/default.nix { inherit pkgs; }).apps
200200
);
201+
apps = forEachSystemPkgs (pkgs:
202+
builtins.mapAttrs (name: exe: {
203+
type = "app";
204+
program = exe + "/bin/${name}";
205+
}) pkgs.haskell-nix.nix-tools-unchecked.exes
206+
);
201207

202208
allJobs = forEachSystem (system:
203209
stripAttrsForHydra (filterDerivations (

0 commit comments

Comments
 (0)