From 37d191aa57c7bbeefacf6627cfeae8fca127086e Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Tue, 16 Jul 2024 04:01:14 +0200 Subject: [PATCH] flake: add nix-eval-jobs as input --- flake.lock | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 4 +++ 2 files changed, 94 insertions(+) diff --git a/flake.lock b/flake.lock index fe2c6b6b..f8f54d47 100644 --- a/flake.lock +++ b/flake.lock @@ -16,6 +16,27 @@ "type": "github" } }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "nix-eval-jobs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1717285511, + "narHash": "sha256-iKzJcpdXih14qYVcZ9QC9XuZYnPc6T8YImb6dX166kw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "2a55567fcf15b1b1c7ed712a2c6fadaec7412ea8", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, "lix": { "inputs": { "flake-compat": "flake-compat", @@ -40,6 +61,53 @@ "url": "https://git.lix.systems/lix-project/lix" } }, + "nix-eval-jobs": { + "inputs": { + "flake-parts": "flake-parts", + "lix": [ + "lix" + ], + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "nixpkgs" + ], + "treefmt-nix": "treefmt-nix" + }, + "locked": { + "lastModified": 1719352671, + "narHash": "sha256-F/RvI9chHywnckEqHO1ggjzCayknhDnnl2kNnnVXpWg=", + "ref": "refs/heads/main", + "rev": "f8869bdcca7c1d5aaf37de3da3a4176811279a57", + "revCount": 606, + "type": "git", + "url": "https://git.lix.systems/lix-project/nix-eval-jobs" + }, + "original": { + "type": "git", + "url": "https://git.lix.systems/lix-project/nix-eval-jobs" + } + }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "nix-eval-jobs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1703863825, + "narHash": "sha256-rXwqjtwiGKJheXB43ybM8NwWB8rO2dSRrEqes0S7F5Y=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "5163432afc817cf8bd1f031418d1869e4c9d5547", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-github-actions", + "type": "github" + } + }, "nix2container": { "flake": false, "locked": { @@ -107,8 +175,30 @@ "root": { "inputs": { "lix": "lix", + "nix-eval-jobs": "nix-eval-jobs", "nixpkgs": "nixpkgs" } + }, + "treefmt-nix": { + "inputs": { + "nixpkgs": [ + "nix-eval-jobs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1718139168, + "narHash": "sha256-1TZQcdETNdJMcfwwoshVeCjwWfrPtkSQ8y8wFX3it7k=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "1cb529bffa880746a1d0ec4e0f5076876af931f1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "treefmt-nix", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 4478254f..d0b3e9d3 100644 --- a/flake.nix +++ b/flake.nix @@ -6,6 +6,10 @@ inputs.lix.url = "git+https://git.lix.systems/lix-project/lix"; inputs.lix.inputs.nixpkgs.follows = "nixpkgs"; + inputs.nix-eval-jobs.url = "git+https://git.lix.systems/lix-project/nix-eval-jobs"; + inputs.nix-eval-jobs.inputs.nixpkgs.follows = "nixpkgs"; + inputs.nix-eval-jobs.inputs.lix.follows = "lix"; + outputs = { self, nixpkgs, lix }: let systems = [ "x86_64-linux" "aarch64-linux" ];