From 684cc50d86608cccf7500ce00af89ea34c488473 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..cf2b2d72 100644 --- a/flake.lock +++ b/flake.lock @@ -16,6 +16,27 @@ "type": "github" } }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": [ + "nix-eval-jobs", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1719994518, + "narHash": "sha256-pQMhCCHyQGRzdfAkdJ4cIWiw+JNuWsTX7f0ZYSyz0VY=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "9227223f6d922fee3c7b190b2cc238a99527bbb7", + "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": 1721195872, + "narHash": "sha256-TlvRq634MSl22BWLmpTy2vdtKntbZlsUwdMq8Mp9AWs=", + "ref": "refs/heads/main", + "rev": "c057494450f2d1420726ddb0bab145a5ff4ddfdd", + "revCount": 608, + "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": 1720066371, + "narHash": "sha256-uPlLYH2S0ACj0IcgaK9Lsf4spmJoGejR9DotXiXSBZQ=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "622f829f5fe69310a866c8a6cd07e747c44ef820", + "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": 1721059077, + "narHash": "sha256-gCICMMX7VMSKKt99giDDtRLkHJ0cwSgBtDijJAqTlto=", + "owner": "numtide", + "repo": "treefmt-nix", + "rev": "0fb28f237f83295b4dd05e342f333b447c097398", + "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" ];