diff --git a/internal/nix/nix-shell.go b/internal/nix/nix-shell.go index 9db0955a..12be26d9 100644 --- a/internal/nix/nix-shell.go +++ b/internal/nix/nix-shell.go @@ -49,6 +49,9 @@ func RenderShell(cfg core.Configuration, sr golang.ScanResult, renderGoreleaserC if sr.UsesPostgres { packages = append(packages, "postgresql_"+core.DefaultPostgresVersion) } + if cfg.Reuse.Enabled.UnwrapOr(true) { + packages = append(packages, "reuse") + } packages = append(packages, cfg.Nix.ExtraPackages...) slices.Sort(packages) diff --git a/shell.nix b/shell.nix index 46e3c6dd..6b465d32 100644 --- a/shell.nix +++ b/shell.nix @@ -12,6 +12,7 @@ mkShell { go_1_24 golangci-lint gotools # goimports + reuse # keep this line if you use bash bashInteractive ];