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

fix: output_path and derivation_path may be null or false #38

Merged

Conversation

ErinvanderVeen
Copy link
Member

@ErinvanderVeen ErinvanderVeen commented Mar 14, 2024

output_path and derivation_path may be null or false

Issue: #37

Description

The FoundDrv struct incorrectly assumed the output_path and derivation_path were always String. Unfortunately, this doesn't hold. The values may also be null or false. Additionally, I've changed the error return into a warning message, simply skipping any found drvs that we cannot parse.

Checklist

Checklist before merging:

  • CHANGELOG.md updated
  • README.md up-to-date

@ErinvanderVeen ErinvanderVeen linked an issue Mar 14, 2024 that may be closed by this pull request
@ErinvanderVeen ErinvanderVeen marked this pull request as ready for review March 14, 2024 09:49
@ErinvanderVeen ErinvanderVeen force-pushed the 37-failure-to-extract-from-githubnixosnixpkgsrelease-2311 branch from fb4adae to 8280062 Compare March 14, 2024 09:51
CHANGELOG.md Outdated Show resolved Hide resolved
@ErinvanderVeen ErinvanderVeen force-pushed the 37-failure-to-extract-from-githubnixosnixpkgsrelease-2311 branch from 8280062 to 610fb89 Compare March 14, 2024 10:06
@ErinvanderVeen ErinvanderVeen merged commit a141158 into main Mar 14, 2024
7 checks passed
@ErinvanderVeen ErinvanderVeen deleted the 37-failure-to-extract-from-githubnixosnixpkgsrelease-2311 branch March 14, 2024 10:11
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.

Failure to extract from github:NixOS/nixpkgs/release-23.11
2 participants