Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

Commit

Permalink
README: fix code alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbatm committed Apr 10, 2019
1 parent 8c73c4a commit fb3a825
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@ Converts `yarn.lock` files into nix expression.

1. Make yarn and yarn2nix available in your shell.
```sh
cd $GIT_REPO
nix-env -i yarn2nix -f .
nix-env -i yarn -f .
cd $GIT_REPO
nix-env -i yarn2nix -f .
nix-env -i yarn -f .
```
2. Go to your project dir
3. If you have not generated a yarn.lock file before, run
```sh
yarn install
yarn install
```
4. Create a `yarn.nix` via:
```sh
yarn2nix > yarn.nix
yarn2nix > yarn.nix
```

5. Create a `default.nix` to build your application (see the example below)

## Requirements
Expand Down

0 comments on commit fb3a825

Please sign in to comment.