Skip to content

Commit b46f0c6

Browse files
authored
default.nix: Add kore attribute (#2030)
Updating haskell.nix removed `project.kore.components.all`, so we are adding a virtual package `kore` that combines all the executables.
1 parent d989053 commit b46f0c6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,19 @@ let
4141

4242
shell = import ./shell.nix { inherit default; };
4343

44+
version = project.kore.components.exes.kore-exec.version;
45+
4446
default =
4547
{
4648
inherit pkgs project;
4749
cache = [
4850
project.roots
4951
(pkgs.haskell-nix.withInputs shell)
5052
];
53+
kore = pkgs.symlinkJoin {
54+
name = "kore-${version}";
55+
paths = pkgs.lib.attrValues project.kore.components.exes;
56+
};
5157
};
5258

5359
in default

0 commit comments

Comments
 (0)