| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
| |
So far, `mkValueString` defaulted to `toString`,
which is a bad match for most configuration file formats,
especially because how booleans are formatted.
This also improves error messages for unsupported types.
Add a test to codify the formatting.
|
| |
|
|
|
|
|
|
| |
* properly escape strings
* remove one check for booleans
* improve error message
|
| |
|
|
|
|
|
|
| |
The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
|
|
|
|
|
|
| |
The isKexecable flag treated Linux without kexec as just a normal
variant, when it really should be treated as a special case incurring
complexity debt to support.
|
|\
| |
| | |
treewide: use more HTTPS URLs
|
| |
| |
| |
| |
| |
| |
| |
| | |
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.
Also fixes jbake source URL, which was broken.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
Otherwise obscure cross-compilations are hampered. `all` breaks all but
the initial derivation (which we can't even write yet) in an open world
setting however, so we really shouldn't have it.
|
| |
|
|\
| |
| | |
lib: Factor in tiny bit of `meta.platform` checking
|
| |
| |
| |
| | |
I need it in stdenv and release-lib, so that seems motivation enough.
|
|\ \
| | |
| | | |
lib: Split Darwin into macOS and iOS
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I noticed LLVM accepts `ios` as its own OS in platform triples; a
recent change as far as I know. I see it also accepts `macos*` for macOS
(formerly OS X). If it's now customary to distinguish iOS like so
(rather than guessing from the aarch, lets add both so our OSes are
still disjoint, and make Darwin a family instead.
But changing the config everywhere would probably be a mass rebuild, and
I'm not sure how well other software supports OSes besides "darwin", so
I'm keeping that the default name for macOS for now.
|
|/ /
| |
| |
| |
| | |
The 'Common Public Attribution License 1.0' is used
for projectlibre and required for packaging it into nixpkgs.
|
|\|
| |
| | |
lib: Fix #30902
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
First, we need check against the host platform, not the build platform.
That's simple enough.
Second, we move away from exahustive finite case analysis (i.e.
exhaustively listing all platforms the package builds on). That only
work in a closed-world setting, where we know all platforms we might
build one. But with cross compilation, we may be building for arbitrary
platforms, So we need fancier filters. This is the closed world to open
world change.
The solution is instead of having a list of systems (strings in the form
"foo-bar"), we have a list of of systems or "patterns", i.e. attributes
that partially match the output of the parsers in `lib.systems.parse`.
The "check meta" logic treats the systems strings as an exact whitelist
just as before, but treats the patterns as a fuzzy whitelist,
intersecting the actual `hostPlatform` with the pattern and then
checking for equality. (This is done using `matchAttrs`).
The default convenience lists for `meta.platforms` are now changed to be
lists of patterns (usually a single pattern) in
`lib/systems/for-meta.nix` for maximum flexibility under this new
system.
Fixes #30902
|
|\|
| |
| | |
treewide: get rid of platforms.allBut
|
| |
| |
| |
| |
| |
| |
| | |
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
|
| | |
|
| |
| |
| | |
https://hydra.nixos.org/build/70748333
|
| |
| |
| |
| |
| |
| | |
Many commits unrelated to `lib` touch that file, this will make `git log ./lib` much saner.
This is what I meant in https://github.com/NixOS/nixpkgs/pull/36119#issuecomment-370184101.
|
|\ \
| |/
|/| |
ansible-lint: init at 3.4.20
|
| | |
|
| | |
|
|\ \
| |/
|/| |
a single version attribute for expressions previously using "majorVersion"
|
| | |
|
| |
| |
| |
| | |
handles""
|
| |
| |
| |
| | |
This reverts commit aa47bac04f06aeea993dc2e2cc6649fde4f31ed7.
|
| |
| |
| |
| | |
This reverts commit 8e4c39adeb2c7ffa7e220b7ef609231d94b1e117.
|
| |
| |
| |
| | |
This reverts commit aecebe828082c60053887e823c13a416eb138cd3.
|
| |
| |
| |
| | |
This reverts commit 24684008df7b7c748eeca64de1270a0e6c460a61.
|
| |
| |
| |
| |
| |
| | |
Based on a request by @oxij:
“Can we also rename this file to `maintainers/maintainers-list.nix` while we at
this? Motivation: much saner `git log ./lib`.”
|
| |
| |
| |
| |
| | |
Add new maintainers that were added before merging the new `maintainers.nix`
file format.
|
| |
| |
| |
| |
| | |
Corrected every handle that had no commits to nixpkgs, manually researched the
correct handles by looking at maintained packages & blames/history on Github.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
Based on https://github.com/NixOS/nixpkgs/pull/34842, the
nix-instantiate output was pretty-printed and the validity of the github handles
manually verified, by automatically checking whether the user handles exist on
github (https://github.com/userhandle, status 200 or 404).
Each handle under 5 characters was manually checked (because the collision
probability with non-maintainer accounts is high), each missing entry was
manually researched.
The script used is kept in `maintainers/scripts` as an example of how to work
with the mainainers list through nix’ JSON interface.
|
|\
| |
| | |
Py junos eznc
|
| | |
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
|
|
|
|
| |
Expose as an option for the cross stdenv.
|
|\
| |
| | |
lib, treewide: Add missing MIPS arches, and fix existing usage
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Existing "mips64el" should be "mipsel".
This is just the barest minimum so that nixpkgs can recognize them as
systems - although required for building individual derivations onto
MIPS boards, it is not sufficient if you want to actually build nixos on
those targets
|