summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-30 19:44:41 -0400
committerseth <[email protected]>2023-05-30 20:01:28 -0400
commited8b784c78b759a59dbb0232e04d00604a611699 (patch)
tree84b5d916da4c361c3ce9d29fa4b665a92f79ea4c /flake.nix
parentd4b67a57aa3b081e01401f723ef5974459ed3171 (diff)
ci: don't use unmaintained actions
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";