chore(dep): remove gomod2nix

This commit is contained in:
Adriano Caloiaro 2025-01-03 11:18:06 -07:00
parent 56ab388cb6
commit 030647179b
No known key found for this signature in database
GPG key ID: C2BC56DE73CE3F75
3 changed files with 5 additions and 125 deletions

View file

@ -652,24 +652,6 @@
}
},
"flake-utils_10": {
"inputs": {
"systems": "systems_10"
},
"locked": {
"lastModified": 1694529238,
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_11": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
@ -803,7 +785,7 @@
},
"flake-utils_9": {
"inputs": {
"systems": "systems_7"
"systems": "systems_9"
},
"locked": {
"lastModified": 1694529238,
@ -955,27 +937,6 @@
"gomod2nix_3": {
"inputs": {
"flake-utils": "flake-utils_9",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1729448365,
"narHash": "sha256-oquZeWTYWTr5IxfwEzgsxjtD8SSFZYLdO9DaQb70vNU=",
"owner": "nix-community",
"repo": "gomod2nix",
"rev": "5d387097aa716f35dd99d848dc26d8d5b62a104c",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "gomod2nix",
"type": "github"
}
},
"gomod2nix_4": {
"inputs": {
"flake-utils": "flake-utils_10",
"nixpkgs": [
"templ",
"nixpkgs"
@ -2026,9 +1987,8 @@
"air": "air",
"devenv": "devenv_2",
"ess": "ess",
"gomod2nix": "gomod2nix_3",
"nixpkgs": "nixpkgs_9",
"systems": "systems_8",
"systems": "systems_7",
"tailwindcss": "tailwindcss",
"templ": "templ"
}
@ -2048,21 +2008,6 @@
"type": "github"
}
},
"systems_10": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
@ -2186,7 +2131,7 @@
"tailwindcss": {
"inputs": {
"nixpkgs": "nixpkgs_10",
"systems": "systems_9"
"systems": "systems_8"
},
"locked": {
"lastModified": 1730850516,
@ -2205,7 +2150,7 @@
"templ": {
"inputs": {
"gitignore": "gitignore_4",
"gomod2nix": "gomod2nix_4",
"gomod2nix": "gomod2nix_3",
"nixpkgs": "nixpkgs_11",
"xc": "xc"
},
@ -2226,7 +2171,7 @@
},
"xc": {
"inputs": {
"flake-utils": "flake-utils_11",
"flake-utils": "flake-utils_10",
"nixpkgs": [
"templ",
"nixpkgs"

View file

@ -4,10 +4,6 @@
systems.url = "github:nix-systems/default";
devenv.url = "github:cachix/devenv";
tailwindcss.url = "github:acaloiaro/tailwind-cli-extra";
gomod2nix = {
url = "github:nix-community/gomod2nix";
inputs.nixpkgs.follows = "nixpkgs";
};
ess = {
url = "github:acaloiaro/ess/v2.13.0";
inputs.nixpkgs.follows = "nixpkgs";
@ -25,7 +21,6 @@
devenv,
systems,
air,
gomod2nix,
tailwindcss,
...
} @ inputs: let
@ -56,7 +51,6 @@
packages = with pkgs; [
air.packages.${system}.default
go-migrate
gomod2nix.legacyPackages.${system}.gomod2nix
nixpacks
sqlc
postgresql
@ -103,14 +97,6 @@
run-show-help
'';
process.managers.process-compose.unixSocket.enable = true;
pre-commit.hooks.gomod2nix = {
enable = true;
always_run = true;
pass_filenames = false;
name = "gomod2nix";
description = "Run gomod2nix before commit";
entry = "${gomod2nix.legacyPackages.${system}.gomod2nix}/bin/gomod2nix";
};
pre-commit.hooks.env-sample-sync = {
enable = true;

View file

@ -1,51 +0,0 @@
schema = 3
[mod]
[mod."github.com/a-h/templ"]
version = "v0.2.793"
hash = "sha256-WThPVkb56osTrMJZf0WIoqbsM9DHGaZsG47MS0eoseA="
[mod."github.com/go-chi/chi/v5"]
version = "v5.1.0"
hash = "sha256-DpVfbPlJe4zQNdBrirWq9Q37/awSu5zb3IJgcuyEED8="
[mod."github.com/go-chi/httplog/v2"]
version = "v2.1.1"
hash = "sha256-bMpoHUSNk3Uds9NfrStwhDsdCONR4pJso9sVUhqfidk="
[mod."github.com/golang-migrate/migrate/v4"]
version = "v4.18.0"
hash = "sha256-SVLDnZKTZ5IJvcDIqv8FEXVFbM2PgbPEVRMpFGhPUsM="
[mod."github.com/google/uuid"]
version = "v1.6.0"
hash = "sha256-VWl9sqUzdOuhW0KzQlv0gwwUQClYkmZwSydHG2sALYw="
[mod."github.com/hashicorp/errwrap"]
version = "v1.1.0"
hash = "sha256-6lwuMQOfBq+McrViN3maJTIeh4f8jbEqvLy2c9FvvFw="
[mod."github.com/hashicorp/go-multierror"]
version = "v1.1.1"
hash = "sha256-ANzPEUJIZIlToxR89Mn7Db73d9LGI51ssy7eNnUgmlA="
[mod."github.com/jackc/pgpassfile"]
version = "v1.0.0"
hash = "sha256-H0nFbC34/3pZUFnuiQk9W7yvAMh6qJDrqvHp+akBPLM="
[mod."github.com/jackc/pgservicefile"]
version = "v0.0.0-20240606120523-5a60cdf6a761"
hash = "sha256-ETpGsLAA2wcm5xJBayr/mZrCE1YsWbnkbSSX3ptrFn0="
[mod."github.com/jackc/pgx/v5"]
version = "v5.7.1"
hash = "sha256-N0aiHG91gMztyWC3PAEG0JVd6B/yrcOCfdl0NzqCDXk="
[mod."github.com/jackc/puddle/v2"]
version = "v2.2.2"
hash = "sha256-IUxdu4JYfsCh/qlz2SiUWu7EVPHhyooiVA4oaS2Z6yk="
[mod."github.com/lib/pq"]
version = "v1.10.9"
hash = "sha256-Gl6dLtL+yk6UrTTWfas43aM4lP/pNa2l7+ITXnjQyKs="
[mod."go.uber.org/atomic"]
version = "v1.7.0"
hash = "sha256-g83RSzO/5k8W3qyiIsrQbVq1F8qJGccdWEXTjkqUOfc="
[mod."golang.org/x/crypto"]
version = "v0.27.0"
hash = "sha256-8HP4+gr4DbXI22GhdgZmCWr1ijtI9HNLsTcE0kltY9o="
[mod."golang.org/x/sync"]
version = "v0.8.0"
hash = "sha256-usvF0z7gq1vsX58p4orX+8WHlv52pdXgaueXlwj2Wss="
[mod."golang.org/x/text"]
version = "v0.18.0"
hash = "sha256-aNvJW4gQs+MTfdz6DZqyyHQS2GJ9W8L8qKPVODPn4+k="