Skip to content

Commit

Permalink
Direnv: use flake instead of devbox (#89)
Browse files Browse the repository at this point in the history
Make use of `nix develop` instead of Devbox.
  • Loading branch information
kalbasit authored Dec 12, 2024
1 parent 66493c0 commit 1901e1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
#!/bin/bash

# Automatically sets up your devbox environment whenever you cd into this
# directory via our direnv integration:

eval "$(devbox generate direnv --print-envrc)"

# check out https://www.jetpack.io/devbox/docs/ide_configuration/direnv/
# for more details
use_flake
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,13 @@
go.work
go.work.sum

# env file
# env file used by dbmate
.env

# Go and Nix build result
# Go and Nix-related build result
/ncps
/result
/.direnv

# SQLite database
/db/database.sqlite3
Expand Down

0 comments on commit 1901e1f

Please sign in to comment.