diff --git a/flake.nix b/flake.nix index e80aef0..887c50e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,8 +2,7 @@ description = "Convert go.mod/go.sum to Nix packages"; inputs.nixpkgs.url = "github:NixOS/nixpkgs/master"; - - inputs.utils.url = "github:numtide/flake-utils"; + inputs.flake-utils.url = "github:numtide/flake-utils"; outputs = { self, nixpkgs, utils }: { diff --git a/templates/app/flake.nix b/templates/app/flake.nix index 8d12bbc..b26947b 100644 --- a/templates/app/flake.nix +++ b/templates/app/flake.nix @@ -4,6 +4,8 @@ inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; inputs.flake-utils.url = "github:numtide/flake-utils"; inputs.gomod2nix.url = "github:nix-community/gomod2nix"; + inputs.gomod2nix.inputs.nixpkgs.follows = "nixpkgs"; + inputs.gomod2nix.inputs.flake-utils.follows = "flake-utils"; outputs = { self, nixpkgs, flake-utils, gomod2nix }: (flake-utils.lib.eachDefaultSystem