Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cannot coerce null to a string - when checking nix flake in shell.nix #1985

Copy link
Copy link
Open
@mrcjkb

Description

@mrcjkb
Issue body actions

Describe the bug

A clear and concise description of what the bug is, including:

  • Build system: x86_64-linux
  • Haskell.nix rev: 8f6a720

When running nix flake check, I have encountered the error cannot coerce null to a string while checking a haskell.nix shell.
The cause is in shell-for.nix:61:

comp: selectedComponentsBitmap."${((haskellLib.dependToLib comp).name or null)}" or false;

I guess the fix would be

comp: selectedComponentsBitmap."${((haskellLib.dependToLib comp).name or "")}" or false;

(not sure)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workingpreservedKeep stale bot awayKeep stale bot away

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.