diff --git a/pkgs/oizys/cmd/dry.go b/pkgs/oizys/cmd/dry.go index 8e1756b..8d69c48 100644 --- a/pkgs/oizys/cmd/dry.go +++ b/pkgs/oizys/cmd/dry.go @@ -10,7 +10,7 @@ var dryCmd = &cobra.Command{ Use: "dry", Short: "poor man's nix flake check", Run: func(cmd *cobra.Command, args []string) { - oizys.Dry( minimal, args...) + oizys.Dry(minimal, args...) }, } diff --git a/pkgs/oizys/internal/oizys/main.go b/pkgs/oizys/internal/oizys/main.go index 7585b89..f5a9343 100644 --- a/pkgs/oizys/internal/oizys/main.go +++ b/pkgs/oizys/internal/oizys/main.go @@ -256,6 +256,11 @@ func NixBuild(minimal bool, rest ...string) { log.Info("nothing to build. exiting...") os.Exit(0) } + if o.inCI { + o.writeToGithubStepSummary("# Building Derivations:\n") + // TODO: write as a markdown table with hash + name (without .drv) + o.writeToGithubStepSummary(strings.Join(drvs, "\n")) + } cmd.Args = append(cmd.Args, append(drvs, "--no-link")...) } if !o.inCI {