Skip to content

Commit 41cdc6b

Browse files
committed
Remove Nix setup
I do not use this setup anymore.
1 parent 0561333 commit 41cdc6b

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. Install [phx_new](https://hex.pm/packages/phx_new):
2725

@@ -37,19 +35,7 @@ projects.
3735
mix phx.new . --app awesome_name
3836
```
3937

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

5440
Rely on [Mise](https://mise.jdx.dev/) to install tools, set environment
5541
variables, and run tasks. Refer to [mise.toml](mise.toml) for details. The Mise
@@ -69,11 +55,6 @@ See available tasks with:
6955
mise run
7056
```
7157
72-
## SQLite
73-
74-
To use SQLite instead of PostgreSQL, uncomment the line with the `sqlite`
75-
package in [shell.nix](./shell.nix).
76-
7758
## Continuous Integration with [GitHub Actions](https://docs.github.com/en/actions)
7859
7960
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)