Skip to content
This repository was archived by the owner on Sep 17, 2023. It is now read-only.

Commit ac5b866

Browse files
committed
chore: reuse flake inputs
1 parent b7b1065 commit ac5b866

File tree

2 files changed

+12
-33
lines changed

2 files changed

+12
-33
lines changed

flake.lock

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

flake.nix

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
inputs = {
33
nixpkgs.url = "github:nixos/nixpkgs";
4+
flake-utils.url = "github:numtide/flake-utils";
45
crane = {
56
url = "github:ipetkov/crane";
67
inputs.nixpkgs.follows = "nixpkgs";
@@ -9,8 +10,11 @@
910
url = "github:nix-community/fenix";
1011
inputs.nixpkgs.follows = "nixpkgs";
1112
};
12-
flake-utils.url = "github:numtide/flake-utils";
13-
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
13+
pre-commit-hooks = {
14+
url = "github:cachix/pre-commit-hooks.nix";
15+
inputs.flake-utils.follows = "flake-utils";
16+
inputs.nixpkgs.follows = "nixpkgs";
17+
};
1418
};
1519

1620
outputs = {

0 commit comments

Comments
 (0)