Skip to content

Commit d5d6085

Browse files
committed
fix: flake changes causing CI breakage
1 parent b76a11f commit d5d6085

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

flake.nix

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,20 @@
5757
];
5858
inherit purescript nodejs;
5959
};
60+
name = "purs-eval";
6061
in
6162
with ps;
6263
rec {
6364
apps.default =
6465
{
6566
type = "app";
66-
program = "${self.packages.${system}.default}";
67+
program = "${packages.default}/bin/${name}";
6768
};
6869

6970
packages =
7071
with ps;
7172
{
72-
default = pkgs.writeScript "purs-eval" ''
73-
#!${pkgs.nodejs}/bin/node
74-
import("${self.packages.${system}.output}/Main/index.js").then(m=>m.main())
75-
'';
76-
output = output { };
73+
default = app { inherit name; };
7774
};
7875

7976
checks.test = test.check { };

0 commit comments

Comments
 (0)