Skip to content

Commit

Permalink
Fix dev shell
Browse files Browse the repository at this point in the history
  • Loading branch information
hrajchert committed Mar 1, 2023
1 parent 5cf659f commit 808756c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ If you use Nix, these tools are provided for you via `shell.nix`, and you do *no
[[building-with-nix]]
==== How to build the Haskell packages and other artifacts with Nix

Run `nix build marlowe-playground-server:exe:marlowe-playground-server` from the root to build the Playground backend service.
Run `nix build .#marlowe-playground-server:exe:marlowe-playground-server` from the root to build the Playground backend service.

See <<nix-build-attributes>> to find out what other attributes you can build.
Try `nix flake show` to see the packages available to build.

==== How to build the Haskell packages with `cabal`

Expand Down
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@
(with pkgs; [
nixpkgs-fmt
nodePackages.prettier
pkgs.nil
pkgs.nodejs-14_x
pkgs.z3
]
)
++
Expand Down
4 changes: 2 additions & 2 deletions marlowe-playground-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Now we will build and run the front end:
[nix-shell] $ cd marlowe-playground-client
# Generate the purescript bridge files
[nix-shell] $ marlowe-playground-generate-purs
# Download javascript dependencies
[nix-shell] $ npm install
# Download javascript dependencies (we use ci to use the package-lock.json)
[nix-shell] $ npm ci
# Install purescript depdendencies
[nix-shell] $ npm run build:spago
# Precompile js dependencies bundle
Expand Down

0 comments on commit 808756c

Please sign in to comment.