libX11 or libx11 as input?

I am creating a new package at the moment and it build locally with the input libX11 and the input libx11 it doesn’t matter. The github bot throws an error:

error: evaluation aborted with the following error message: 
'lib.customisation.callPackageWith: Function called without required argument "libX11" 
at /nix/store/47shy8nx4zx7nx4z64qrb8k3ans8xga1-source/pkgs/by-name/ti/tinymediamanager/package.nix:16, 
did you mean "libp11" or "libx11"?'

why is it locally no problem but the github bot throws an error?

This is an alias (everything in pkgs/top-level/aliases.nix is an alias):

And we don’t permit aliases to be consumed within nixpkgs.

3 Likes

To be precise, aliases are turned off in the CI runs, specifically so that code inside nixpkgs doesn’t depend on aliases. They exist to maintain compatibility for code outside nixpkgs when things change, mostly.

2 Likes