Skip to content

Old haskell.nix code gives value is a function while a set was expected #709

Closed
@hamishmack

Description

@hamishmack

Once we remove the backwards compatibility support we may see some
value is a function while a set was expected errors with old
haskell.nix code that looks like this:

import <nixpkgs> { inherit (import haskellNixSrc) config overlays system; }

solution is to change it to something like:

import <nixpkgs> { inherit ((import haskellNixSrc {}).nixpkgsArgs) config overlays system; }

or just:

import <nixpkgs> (import haskellNixSrc {}).nixpkgsArgs

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