build: drop gomod2nix
1 file changed, 1 insertion(+), 16 deletions(-)
changed files
M flake.nix → flake.nix
@@ -7,12 +7,6 @@ pre-commit-hooks = { url = "github:cachix/pre-commit-hooks.nix"; inputs.nixpkgs.follows = "nixpkgs"; }; - gomod2nix = { - url = "github:nix-community/gomod2nix"; - inputs = { - nixpkgs.follows = "nixpkgs"; - }; - }; treefmt-nix = { url = "github:numtide/treefmt-nix"; inputs.nixpkgs.follows = "nixpkgs";@@ -27,7 +21,6 @@ outputs = { self, nixpkgs, - gomod2nix, pre-commit-hooks, treefmt-nix, simple-css,@@ -47,9 +40,6 @@ f { inherit system; pkgs = import nixpkgs { inherit system; - overlays = [ - gomod2nix.overlays.default - ]; }; } );@@ -70,9 +60,6 @@ package = pkgs.prettier; }; sqlfluff.enable = true; sqlfluff.dialect = "sqlite"; - }; - settings.formatter = { - taplo.excludes = [ "gomod2nix.toml" ]; }; }; in@@ -87,11 +74,10 @@ }; }; packages = forEachSupportedSystem ( - { pkgs, system }: + { pkgs, ... }: { css = pkgs.concatText "simple.css" [ "${simple-css}/simple.css" ]; default = pkgs.callPackage ./nix/package.nix { - inherit (gomod2nix.legacyPackages.${system}) buildGoApplication; css = "${simple-css}/simple.css"; }; }@@ -109,7 +95,6 @@ shellHook enabledPackages ; }; - inherit (gomod2nix.legacyPackages.${system}) mkGoEnv gomod2nix; }; } );