summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 7c93f33..cd31a4a 100644
--- a/flake.nix
+++ b/flake.nix
@@ -12,26 +12,40 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
+
flake-parts = {
url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs";
};
+
# this is just to avoid having multiple versions in flake.lock
flake-utils.url = "github:numtide/flake-utils";
+
+ # used for cargo audit
+ advisory-db = {
+ url = "github:rustsec/advisory-db";
+ flake = false;
+ };
+
+ # our build framework
crane = {
url = "github:ipetkov/crane";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-compat.follows = "flake-compat";
inputs.flake-utils.follows = "flake-utils";
};
+
+ # toolchain management
fenix = {
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
+
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.nixpkgs.follows = "nixpkgs";