The current license is Eclipse Public license (epl10) which is
incorrect. I suspect this was intended to be Erlang Public License,
which was the license for OTP versions up to OTP 18. Since the minimum
OTP version for Elixir currently is 23, there should be no need to address
per-version license in this case.
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build a08b3a4d19.tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
Remove the implicit dependency on `elixir` being somewhere in `PATH`.
Before:
```
$ nix build '.#elixir_1_15'
$ ./result/bin/mix --version
env: ‘elixir’: No such file or directory
```
After:
```
$ nix build '.#elixir_1_15'
$ ./result/bin/mix --version
Erlang/OTP 25 [erts-13.2.2.2] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Mix 1.15.2 (compiled with Erlang/OTP 25)
```
This was caused by the shebang interpreter directive being set to
`${coreutils}/bin/env elixir`, whereas now the `elixir` part is replaced
with the full path to the interpreter.
We can't get rid of the `${coreutils}/bin/env` part, because without it
all scripts are interpreted as shell scripts.
The hardcoded CURL_CA_BUNDLE path does not exist on MacOS, which causes
all curl calls (e.g. in build scripts) to fail. This commit removes
that environment variable, causing curl fall back to NIX_SSL_CERT_FILE
instead.
@the-kenny did a good job in the past and is set as maintainer in many package,
however since 2017-2018 he stopped contributing. To create less confusion
in pull requests when people try to request his feedback, I removed him as
maintainer from all packages.
* pkgs: refactor needless quoting of homepage meta attribute
A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.
* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit
* Fixed some instances