Skip to content

Commit 050d63f

Browse files
committed
chore(nix): add thira GitHub input for development shell
1 parent bd3bc41 commit 050d63f

File tree

8 files changed

+114
-6
lines changed

8 files changed

+114
-6
lines changed

.direnv/flake-profile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
flake-profile-3-link
1+
flake-profile-4-link

.direnv/flake-profile-3-link

Lines changed: 0 additions & 1 deletion
This file was deleted.

.direnv/flake-profile-4-link

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/nix/store/yg0dln7dgaa5fz1h1j38y7lrgl25m2si-nix-shell-env

.thira/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
/Users/ervan/Documents/Projects/THIRA2/thira/target/debug/thira commit validate "$1"
3+
/nix/store/sdari5s5pysmg8ygyvq5frxyaf4aqb28-thira-0.0.1/bin/thira commit validate "$1"
44
if [ $? -ne 0 ]; then
55
exit 1
66
fi

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.lock

Lines changed: 106 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
66
rust-overlay.url = "github:oxalica/rust-overlay";
77
flake-utils.url = "github:numtide/flake-utils";
8+
thira.url = "github:ervan0707/thira";
89
};
910

1011
outputs =
@@ -13,6 +14,7 @@
1314
nixpkgs,
1415
rust-overlay,
1516
flake-utils,
17+
thira,
1618
...
1719
}:
1820
flake-utils.lib.eachSystem
@@ -99,6 +101,7 @@
99101
pkg-config
100102
openssl
101103
rustup
104+
thira.packages.${system}.default
102105
]
103106
++ platformDeps;
104107
RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";

hooks.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ lint:
5757
- config
5858
- deps
5959
- tests
60+
- nix
6061
min_subject_length: 3
6162
max_subject_length: 72
6263
max_body_line_length: 100

0 commit comments

Comments
 (0)