flakehub-push
flakehub-push copied to clipboard
Github action failing on nixvim
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
I guess that it has something to do with https://github.com/DeterminateSystems/flakehub-push/issues/69