Skip to content

Commit

Permalink
default of simpleCabalProject2flake is symlinkJoin of all
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanovs-4 committed Dec 30, 2022
1 parent cea20ef commit 896219e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion simpleCabalProject2flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,12 @@ in
getAttrs = names: attrs: pkgs.lib.attrsets.genAttrs names (n: attrs.${n});

in {
packages = packages_ // { "default" = packages_."${name}"; };
packages = packages_ // {
"default" = pkgs.symlinkJoin {
name = "all";
paths = builtins.attrValues packages_;
};
};

devShells = {"default" = (
if shell != null
Expand Down

0 comments on commit 896219e

Please sign in to comment.