Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md with instructions to install from source #490

Merged
merged 7 commits into from
Oct 3, 2019
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,28 @@ Or to launch ghcid for `lib/command` project:
nix-shell -A obeliskEnvs.obelisk-command --run "cd lib/command && ghcid -c 'cabal new-repl'"
```

To re-install `ob` from source do
3noch marked this conversation as resolved.
Show resolved Hide resolved
```
nix-env -f /path/to/obelisk -iA command
```

Note that `ob` will defer to the version found in your project's `.obelisk/impl` directory. To update that version specifically:

```shell
ob thunk unpack ./obelisk/impl
cd ./obelisk/impl
# apply your changes
```

If you want to commit your changes, first push them to your fork of obelisk and then

```shell
cd /your/project/root
ob thunk pack .obelisk/impl
git add .obelisk/impl
git commit -m "Bump obelisk"
```

### Accessing private repositories

To allow the Nix builder to access private git repositories, you must be set up
Expand Down