Skip to content

Derivation: Please, define undefined #896

@Anton-Latukha

Description

@Anton-Latukha

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions