Skip to content

Commit 8580044

Browse files
ttuegelrv-jenkins
andauthored
Export prelude.kore in Nix (#2522)
This exports `prelude-kore` so that the frontend can find `prelude.kore` independent of the submodule where the backend resides. Co-authored-by: rv-jenkins <[email protected]>
1 parent ff35eb7 commit 8580044

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

default.nix

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,18 +74,21 @@ let
7474

7575
version = project.kore.components.exes.kore-exec.version;
7676

77+
prelude-kore = ./src/main/kore/prelude.kore;
78+
7779
rematerialize = pkgs.writeScript "rematerialize.sh" ''
7880
#!/bin/sh
7981
${project.stack-nix.passthru.updateMaterialized}
8082
'';
8183

8284
default =
8385
{
84-
inherit pkgs project rematerialize;
86+
inherit pkgs prelude-kore project rematerialize;
8587
cache = [
8688
project.roots
8789
(pkgs.haskell-nix.withInputs shell)
8890
];
91+
8992
kore = pkgs.symlinkJoin {
9093
name = "kore-${version}";
9194
paths = pkgs.lib.attrValues project.kore.components.exes;

0 commit comments

Comments
 (0)