From fb3a82550caee9e5dedf976961ab6ad00eee35c3 Mon Sep 17 00:00:00 2001 From: zimbatm Date: Wed, 10 Apr 2019 13:47:45 +0200 Subject: [PATCH] README: fix code alignment --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5d07b21..35c00d7 100644 --- a/README.md +++ b/README.md @@ -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