Skip to content

Commit

Permalink
Expose the nix-tools as flake apps (#2251)
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack authored Sep 18, 2024
1 parent 61fbe40 commit 39e1901
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@
packages = forEachSystemPkgs (pkgs:
(import ./hix/default.nix { inherit pkgs; }).apps
);
apps = forEachSystemPkgs (pkgs:
builtins.mapAttrs (name: exe: {
type = "app";
program = exe + "/bin/${name}";
}) pkgs.haskell-nix.nix-tools-unchecked.exes
);

allJobs = forEachSystem (system:
stripAttrsForHydra (filterDerivations (
Expand Down

0 comments on commit 39e1901

Please sign in to comment.