Skip to content

Commit 942ed01

Browse files
committed
Add nix shell and some checks
1 parent 929da3e commit 942ed01

File tree

7 files changed

+377
-12
lines changed

7 files changed

+377
-12
lines changed

Diff for: .envrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
watch_file shell.nix
2+
watch_file flake.lock
3+
4+
# try to use flakes, if it fails use normal nix (ie. shell.nix)
5+
use flake || use nix
6+
eval "$shellHook"

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
**/*.rs.bk
77

88
result
9+
.pre-commit-config.yaml

Diff for: default.nix

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
(import
2+
(fetchTarball {
3+
url = "https://github.com/edolstra/flake-compat/archive/99f1c2157fba4bfe6211a321fd0ee43199025dbf.tar.gz";
4+
sha256 = "0x2jn3vrawwv9xp15674wjz9pixwjyj3j771izayl962zziivbx2";
5+
})
6+
{ src = ./.; }).defaultNix

Diff for: flake.lock

+243-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)