Skip to content

Commit

Permalink
Add marlowe-playground-server command
Browse files Browse the repository at this point in the history
  • Loading branch information
hrajchert committed Nov 22, 2022
1 parent 5151fa5 commit 9a98c5d
Show file tree
Hide file tree
Showing 11 changed files with 431 additions and 1,758 deletions.
18 changes: 13 additions & 5 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
outputs = { self, nixpkgs, flake-utils, haskellNix, easy-purescript-nix }:
let
supportedSystems = [
# "x86_64-linux"
"x86_64-linux"
"x86_64-darwin"
];
in
Expand All @@ -25,7 +25,7 @@
p // { purs = p.purs-0_15_2; };

scripts = import ./nix/scripts.nix {
inherit pkgs system easyPS;
inherit pkgs easyPS;
inherit (pkgs.nodePackages) prettier;
};
overlays = [
Expand All @@ -49,6 +49,7 @@
++
(with scripts; [
marlowePlaygroundGeneratePurs
startBackend
]
)
++
Expand All @@ -69,10 +70,17 @@
];
pkgs = import nixpkgs { inherit system overlays; inherit (haskellNix) config; };
flake = pkgs.playground.flake { };
ghc-with-marlowe = pkgs.playground.ghcWithPackages (ps: [ ps.marlowe ]);
in
flake // {
legacyPackages = pkgs;
});
pkgs.lib.recursiveUpdate
(flake // {
legacyPackages = pkgs;
})
{
packages = { inherit ghc-with-marlowe; };
}

);

# --- Flake Local Nix Configuration ----------------------------
nixConfig = {
Expand Down
94 changes: 0 additions & 94 deletions marlowe-playground-client/default.nix

This file was deleted.

Loading

0 comments on commit 9a98c5d

Please sign in to comment.