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

dev: Move assert in derivation for generated file in the derivation definition #1817

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

traxys
Copy link
Member

@traxys traxys commented Jul 5, 2024

If we access the asserts outside the derivation arguments, and inside the code that creates the derivation then we observe IFD in nix flake show.

This commit fixes it, and allows nix flake show to work!

Fixes #1154

…efinition

If we access the asserts outside the derivation arguments, and inside
the code that _creates_ the derivation then we observe IFD in `nix flake
show`.

This commit fixes it, and allows `nix flake show` to work!

Fixes nix-community#1154
@traxys traxys requested a review from MattSturgeon July 5, 2024 19:56
@traxys
Copy link
Member Author

traxys commented Jul 5, 2024

@Mergifyio queue

Copy link
Contributor

mergify bot commented Jul 5, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 8fbcfcb

@mergify mergify bot merged commit 8fbcfcb into nix-community:main Jul 5, 2024
69 checks passed
@mergify mergify bot temporarily deployed to github-pages July 5, 2024 20:19 Inactive
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 this pull request may close these issues.

Running nix flake show fails to evaluate on x86_64-linux
2 participants