Skip to content

Files with the same name but different case #34

@aciceri

Description

@aciceri

I just created a PR to add cntb to nixpkgs and I realized that this repository contains two files with the same filename modulo case.

This doesn't behave well on case insensitive filesystems and made Nix compute two different hashes for the sources depending if on linux or macos.

The infamous files are:

  • [AddOnResponse.md](https://github.com/contabo/cntb/blob/main/openapi/docs/AddOnResponse.md)
  • [AddonResponse.md](https://github.com/contabo/cntb/blob/main/openapi/docs/AddonResponse.md)

My current workaround is patching the sources deleting the entire ./openapi/docs directory.

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