From 1e1f2d95a4bbaeb6086f47f26e56548b634e113a Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Sat, 8 Jun 2024 15:55:59 +0200 Subject: [PATCH] flakes: drop problematic sources (#785) * treewide: fix usage of flake-info * flakes: drop github:tweag/nickel for IFD * flakes: drop github:pinpox/nixos for infinite recursion * flakes: drop github:srid/emanote for IFD * flakes: drop gitlab:simple-nixos-mailserver/nixos-mailserver for undefined option * flakes: drop stream-alert-bot for possible infinite recursion * flakes: drop github:astro/microvm.nix for undefined attribute --- .github/workflows/check-flake-files.yml | 2 +- flake-info/README.md | 2 +- flakes/manual.toml | 29 ------------------------- 3 files changed, 2 insertions(+), 31 deletions(-) diff --git a/.github/workflows/check-flake-files.yml b/.github/workflows/check-flake-files.yml index c01eda8..08803b1 100644 --- a/.github/workflows/check-flake-files.yml +++ b/.github/workflows/check-flake-files.yml @@ -37,7 +37,7 @@ jobs: do echo "::group::Group \"$(basename $flake_group .toml)\"" - nix run --accept-flake-config .#flake-info -- group "$flake_group" "$(basename "$flake_group" .toml)" --report + nix run --accept-flake-config .#flake-info -- --json group "$flake_group" "$(basename "$flake_group" .toml)" --report if [[ -f "./report.txt" ]] then diff --git a/flake-info/README.md b/flake-info/README.md index 47de527..3e63cea 100644 --- a/flake-info/README.md +++ b/flake-info/README.md @@ -127,7 +127,7 @@ An example `targets.json` file can look like the following ``` ``` -$ flake-info group ./targets.json small-group +$ flake-info --json group ./targets.json small-group ``` ### Elasticsearch diff --git a/flakes/manual.toml b/flakes/manual.toml index dec0738..a15d6a4 100644 --- a/flakes/manual.toml +++ b/flakes/manual.toml @@ -43,16 +43,6 @@ type = "gitlab" owner = "pi-lar" repo = "neuropil" -[[sources]] -type = "github" -owner = "tweag" -repo = "nickel" - -[[sources]] -type = "github" -owner = "pinpox" -repo = "nixos" - [[sources]] type = "github" owner = "Mic92" @@ -78,11 +68,6 @@ type = "github" owner = "yusdacra" repo = "rust-nix-templater" -[[sources]] -type = "github" -owner = "srid" -repo = "emanote" - [[sources]] type = "git" url = "git+https://git.sr.ht/~kerstin/sway-timetracker?ref=main" @@ -92,15 +77,6 @@ type = "github" owner = "PrismLauncher" repo = "PrismLauncher" -[[sources]] -type = "gitlab" -owner = "simple-nixos-mailserver" -repo = "nixos-mailserver" - -[[sources]] -type = "git" -url = "git+https://codeberg.org/wolfangaukang/stream-alert-bot?ref=main" - [[sources]] type = "git" url = "git+https://codeberg.org/wolfangaukang/python-trovo?ref=main" @@ -114,11 +90,6 @@ type = "github" owner = "juliosueiras-nix" repo = "nix-security" -[[sources]] -type = "github" -owner = "astro" -repo = "microvm.nix" - [[sources]] type = "github" owner = "lnbits"