Skip to content

Commit

Permalink
Remove nix support (#404)
Browse files Browse the repository at this point in the history
* Delete default.nix

* Remove nix note from README.md

* Remove nix testing instructions from README.md
  • Loading branch information
chshersh authored Feb 18, 2020
1 parent 60de4f2 commit 8c45e14
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 85 deletions.
26 changes: 3 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,14 +626,7 @@ for Cabal and
stack build
```

for Stack and

```shell=
nix-build -A summoner # To build the CLI only
nix-build -A summoner-tui # To build the TUI
```

for Nix.
for Stack.

### Test [](#structure)

Expand All @@ -645,18 +638,12 @@ To actually run tests you need to run:
cabal new-test all
```

or, if using Stack,
or, if using Stack

```shell
stack test
```

or, if using Nix,

```shell
nix-shell --run 'cabal new-test all'
```

### Run [](#structure)

Building Summoner with the recommended method creates two executables: `summon` and `summon-tui`. To run the compiled executable you can use the following commands:
Expand All @@ -666,20 +653,13 @@ cabal new-exec summon -- SOME_COMMAND
cabal new-exec summon-tui -- SOME_COMMAND
```

or, if using Stack,
or, if using Stack

```shell
stack exec summon -- SOME_COMMAND
stack exec summon-tui -- SOME_COMMAND
```

or, if using Nix,

```shell
nix-shell --run 'cabal new-run summon -- SOME_COMMAND'
nix-shell --run 'cabal new-run summon-tui -- SOME_COMMAND'
```

## Acknowledgments [](#structure)

This project was inspired by [Aelve/new-hs](https://github.com/aelve/new-hs#readme),
Expand Down
62 changes: 0 additions & 62 deletions default.nix

This file was deleted.

0 comments on commit 8c45e14

Please sign in to comment.