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

Derivation: Please, define undefined #896

Closed
Anton-Latukha opened this issue Mar 21, 2021 · 0 comments · Fixed by #901
Closed

Derivation: Please, define undefined #896

Anton-Latukha opened this issue Mar 21, 2021 · 0 comments · Fixed by #901

Comments

@Anton-Latukha
Copy link
Collaborator

During #554 into the source code was merged 3 undefined fields:

defaultDerivation :: Derivation
defaultDerivation = Derivation
{ name = undefined
, outputs = mempty
, inputs = (mempty, mempty)
, platform = undefined
, builder = undefined
, args = mempty
, env = mempty
, mFixed = Nothing
, hashMode = Flat
, useJson = False
}

relude draws attention to the use of undefined in the code, which trips over the strict build: https://github.com/haskell-nix/hnix/pull/890/checks?check_run_id=2160023666.

Anton-Latukha added a commit that referenced this issue Mar 21, 2021
Please, enable it back after #896 closes.
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.

1 participant