Skip to content

Lix shadow-internal-symbols deprecation causes build failure #72

Description

@kittywitch

https://docs.lix.systems/manual/lix/stable/contributing/deprecated-features.html?highlight=nix%20path-info#dp-feature-shadow-internal-symbols

       error: Shadowing symbol 'null' used in internal expressions is not allowed. Use --extra-deprecated-features shadow-internal-symbols to disable this error.
       at /nix/store/wnb63azsvs2pjq7c6dlqcrim4h9wi2ls-source/types.nix:180:48:
          179|     description = "derivation";
          180|     check = x: builtins.isAttrs x && x.type or null == "derivation";
             |                                                ^

Corresponding line: https://github.com/chessai/nix-std/blob/master/types.nix#L180

Actual cause, type "null" shadows internal null. https://github.com/chessai/nix-std/blob/master/types.nix#L244-L249

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions