Skip to content

Commit 000d24a

Browse files
committed
Remove Nix setup
I do not use this setup anymore.
1 parent d021fa7 commit 000d24a

File tree

3 files changed

+4
-76
lines changed

3 files changed

+4
-76
lines changed

README.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ projects.
1919
2. Search for `CHANGEME` in the newly created repository to adapt it to your
2020
needs.
2121

22-
3. Pick nix-shell or Mise for the development environment.
23-
24-
4. For a [Phoenix](https://www.phoenixframework.org/) application, generate it with:
22+
3. For a [Phoenix](https://www.phoenixframework.org/) application, generate it with:
2523

2624
1. Set up [development environment](#development-environment):
2725

@@ -43,19 +41,7 @@ projects.
4341
mix phx.new . --app awesome_name
4442
```
4543

46-
## nix-shell for Elixir and Phoenix
47-
48-
Reproducible development environment for Elixir/Phoenix projects which relies on
49-
[Nix](https://github.com/NixOS/nix), a purely functional and cross-platform
50-
package manager.
51-
52-
### Usage
53-
54-
1. Copy [shell.nix](./shell.nix) at the root of your Elixir/Phoenix project.
55-
2. Add the content of [.gitignore](./.gitignore) to your own _.gitignore_.
56-
3. Start with `nix-shell`.
57-
58-
## Mise
44+
## Development Environment
5945

6046
Rely on [Mise](https://mise.jdx.dev/) to install tools, set environment
6147
variables, and run tasks. Refer to [mise.toml](mise.toml) for details. The Mise
@@ -75,11 +61,6 @@ See available tasks with:
7561
mise run
7662
```
7763
78-
## SQLite
79-
80-
To use SQLite instead of PostgreSQL, uncomment the line with the `sqlite`
81-
package in [shell.nix](./shell.nix).
82-
8364
## Continuous Integration with [GitHub Actions](https://docs.github.com/en/actions)
8465
8566
Linters, tests and more. Details under [.github/workflows](./.github/workflows).

mise.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[tools]
22
erlang = "28.3.1"
33
elixir = "1.19.5-otp-28"
4+
# CHANGEME: Will you use SQLite instead of PostgreSQL? If so, you won't need the Docker-Compose setup.
5+
sqlite = "3.51.2"
46

57
[settings]
68
# Hooks are experimental

shell.nix

Lines changed: 0 additions & 55 deletions
This file was deleted.

0 commit comments

Comments
 (0)