Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
zeme-wana committed Aug 23, 2023
1 parent 51ca18c commit 13d7800
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 5 deletions.
270 changes: 269 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
url = "github:nix-community/npmlock2nix";
flake = false;
};

std.url = "github:divnix/std";
};


Expand Down
1 change: 1 addition & 0 deletions nix/ci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
includedPaths = lib.optionals pkgs.stdenv.hostPlatform.isLinux [
"oci-images"
"operables"
"playwright"
];
}
2 changes: 1 addition & 1 deletion nix/marlowe-playground/oci-images.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ inputs', pkgs, lib, ... }:
let
inherit (inputs.std.lib.ops) mkStandardOCI;
inherit (inputs'.std.lib.ops) mkStandardOCI;

mkImage = { name, description }:
mkStandardOCI {
Expand Down
6 changes: 3 additions & 3 deletions nix/per-system-outputs.nix
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# This file is part of the IOGX template and is documented at the link below:
# https://www.github.com/input-output-hk/iogx#35-nixper-system-outputsnix

{ repoRoot, haskellProjects, ... }:
{ repoRoot, haskellProjects, system, lib, ... }:

{
packages.generated-purescript = repoRoot.nix.marlowe-playground.generated-purescript;

packages.marlowe-playground-client = repoRoot.nix.marlowe-playground.marlowe-playground-client;

packages.playwright = repoRoot.nix.marlowe-playground.playwright;

packages.ghc-with-marlowe = haskellProjects.default.ghcWithPackages (pkgs: [ pkgs.marlowe-cardano ]);

playwright = lib.optionalAttrs (system == "x86_64-linux") repoRoot.nix.marlowe-playground.playwright;

operables = repoRoot.nix.marlowe-playground.operables haskellProjects.default;

oci-images = repoRoot.nix.marlowe-playground.oci-images;
Expand Down

0 comments on commit 13d7800

Please sign in to comment.