Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto adding the default GH action fails #162

Closed
commandodev opened this issue Sep 11, 2024 · 0 comments · Fixed by #163
Closed

Auto adding the default GH action fails #162

commandodev opened this issue Sep 11, 2024 · 0 comments · Fixed by #163
Assignees

Comments

@commandodev
Copy link

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants