We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76a11f commit d5d6085Copy full SHA for d5d6085
flake.nix
@@ -57,23 +57,20 @@
57
];
58
inherit purescript nodejs;
59
};
60
+ name = "purs-eval";
61
in
62
with ps;
63
rec {
64
apps.default =
65
{
66
type = "app";
- program = "${self.packages.${system}.default}";
67
+ program = "${packages.default}/bin/${name}";
68
69
70
packages =
71
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 { };
+ default = app { inherit name; };
77
78
79
checks.test = test.check { };
0 commit comments