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

Github action failing on nixvim #102

Open
GaetanLepage opened this issue Jan 6, 2024 · 1 comment
Open

Github action failing on nixvim #102

GaetanLepage opened this issue Jan 6, 2024 · 1 comment

Comments

@GaetanLepage
Copy link

GaetanLepage commented Jan 6, 2024

Error

Hello,

Project: nix-community/nixvim.

Since this commit which adds a nixos configuration test to our flake's checks, the flakehub action fails.

Error: 
   0: Checking flake evaluates
   1: Failed to execute command `nix flake show --all-systems --json --no-write-lock-file /home/runner/work/nixvim/nixvim/` with status 1 
      stdout: 
      stderr: 
�[K
�[Kevaluating ''...
      copying path '/nix/store/m707dys0ykz12vnyfljx62dc6lv0hmx7-source' from 'https://cache.nixos.org'...
      evaluating 'checks'...
      evaluating 'checks.aarch64-darwin'...
      evaluating 'checks.aarch64-darwin.darwin-module'...
      evaluating 'checks.aarch64-darwin.extra-args-tests'...
      evaluating 'checks.aarch64-darwin.home-manager-module'...
      evaluating 'checks.aarch64-darwin.lib-tests'...
      evaluating 'checks.aarch64-darwin.man-docs'...
      evaluating 'checks.aarch64-darwin.pre-commit'...
      evaluating 'checks.aarch64-darwin.template-default'...
      evaluating 'checks.aarch64-darwin.tests'...
      evaluating 'checks.aarch64-linux'...
      evaluating 'checks.aarch64-linux.docs'...
      evaluating 'checks.aarch64-linux.extra-args-tests'...
      evaluating 'checks.aarch64-linux.home-manager-module'...
      evaluating 'checks.aarch64-linux.lib-tests'...
      evaluating 'checks.aarch64-linux.man-docs'...
      evaluating 'checks.aarch64-linux.nixos-module'...
      error:
             … while evaluating the attribute 'optionalValue.value'

               at /nix/store/m707dys0ykz12vnyfljx62dc6lv0hmx7-source/lib/modules.nix:856:5:

                855|
                856|     optionalValue =
                   |     ^
                857|       if isDefined then { value = mergedValue; }

             … while evaluating a branch condition

               at /nix/store/m707dys0ykz12vnyfljx62dc6lv0hmx7-source/lib/modules.nix:857:7:

                856|     optionalValue =
                857|       if isDefined then { value = mergedValue; }
                   |       ^
                858|       else {};

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

             error: cannot build '/nix/store/99pjk6lzn1062j00y5y2c6pb1zkn4qdx-source.drv^out' during evaluation because the option 'allow-import-from-derivation' is disabled


Metadata

key value
version 0.1.0
os linux
arch x86_64

SpanTrace

SpanTrace:
   0: flakehub_push::flake_info::check_flake_evaluates
           with directory=/home/runner/work/nixvim/nixvim/
             at src/flake_info.rs:54
   1: flakehub_push::cli::push_new_release
           with repository=nix-community/nixvim mirror=false upload_name=nix-community/nixvim
             at src/cli/mod.rs:472
   2: flakehub_push::cli::flakehub_push
             at src/cli/mod.rs:257
@GaetanLepage
Copy link
Author

I guess that it has something to do with #69

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

No branches or pull requests

1 participant