Skip to content

Auto adding the default GH action fails #162

Closed

Description

@commandodev

Action

❯ cat .github/workflows/flakehub-publish-rolling.yml 
name: "Publish every Git push to main to FlakeHub"
on:
  push:
    branches:
      - "main"
jobs:
  flakehub-publish:
    runs-on: "ubuntu-latest"
    permissions:
      id-token: "write"
      contents: "read"
    steps:
      - uses: "actions/checkout@v4"
      - uses: "DeterminateSystems/nix-installer-action@main"
      - uses: "DeterminateSystems/flakehub-push@main"
        with:
          name: "getmissionctrl/base"
          rolling: true
          visibility: "private"
          include-output-paths: true

Log

• Added input 'flake/treefmt-nix/nixpkgs':
          follows 'flake/nixpkgs'
      unpacking 'https://api.flakehub.com/f/pinned/DeterminateSystems/flake-schemas/0.1.5/0190ef2f-61e0-794b-ba14-e82f225e55e6/source.tar.gz' into the Git cache...
      unpacking 'github:mic92/flake-linter/3156a6cab9ae0e8c4624034ed3581813f7b9c856?narHash=sha256-dJ6pxjVIEBJd53%2BMD7tDLJ2H8/q5mjIgVns0H5X1nlQ%3D' into the Git cache...
      error:
             … while evaluating attribute 'inventory'
               at /nix/store/zzw3z7aawcq5jxyrhkl1y8a67fyvscmb-source/flake.nix:117:25:
                116|                 inherit docs;
                117|                 inherit inventory;
                   |                         ^
                118|               };

             … while evaluating attribute 'devShells'

             … while evaluating attribute 'children'
               at /nix/store/zzw3z7aawcq5jxyrhkl1y8a67fyvscmb-source/flake.nix:20:48:
                 19|
                 20|               mkChildren = children: { inherit children; };
                   |                                                ^
                 21|

             (stack trace truncated; use '--show-trace' to show the full, detailed trace)

             error: attribute 'outputs' missing
             at /nix/store/zzw3z7aawcq5jxyrhkl1y8a67fyvscmb-source/flake.nix:93:45:
                 92|                                             )
                 93|                                             attrs.derivation.outputs
                   |                                             ^
                 94|                                         )


Location:
   src/flake_info.rs:290

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Activity

  1. self-assigned this
    on Sep 12, 2024
  2. added a commit that references this issue on Sep 13, 2024
    55761e7
  3. added a commit that references this issue on Mar 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions