From ed8b784c78b759a59dbb0232e04d00604a611699 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 30 May 2023 19:44:41 -0400 Subject: ci: don't use unmaintained actions --- flake.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'flake.nix') 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"; -- cgit v1.2.3