summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* freebsd: Cleanup, get ready to support version 14•••* Extend libc Include non-libc core libraries in the libc package. Many of these mirror libraries present in glibc on linux, such as libgcc, libraries used for iconv, and libraries used for reading kernel info (libkvm, libprocstat, libmemstat). Without this many packages outside the freebsd tree would need to be modified to include standard dependencies which would already be on the system for other packages. * Mark FreeBSD as using LLVM * Update default LLVM version FreeBSD * Use patch monolith The patchesRoot system combined with the fact that each derivation will Request specific names of patches makes it very annoying to use other FreeBSD source trees with nixpkgs. This new system allows providing one Or more entire trees of patches whose contents will be dynamically Parsed and only the relevant patches will be applied for any one Derivation. With this commit, the following knobs are available for specifying the FreeBSD source: - overriding `freebsd.versionInfo`, for picking another official supported FreeBSD release. - overriding `freebsd.source` for specifying a specific unpatched FreeBSD source tree. - overriding `freebsd.patches`, for specifying the patches to apply. Co-Authored-by: Audrey Dutcher <audrey@rhelmot.io> Co-Authored-by: John Ericson <John.Ericson@Obsidian.Systems> Artemis Tosini2024-05-111-0/+2
* lib/gvariant: Use more specific instructions for int and attrsetJan Tojnar2024-05-021-0/+59
* lib/gvariant: Fix error message for unsupported primitives•••Without this, passing an integer to a setting will fail with a confusing error: error: cannot coerce an integer to a string Jan Tojnar2024-05-021-1/+1
* licenses: add ICU licensematthewcroughan2024-05-021-0/+5
* Merge pull request #308032 from obsidiansystems/freebsd-no-suffix-version•••treewide: freebsd13 -> freebsdJohn Ericson2024-05-014-10/+6
|\
| * treewide: freebsd13 -> freebsd•••Co-authored-by: Alyssa Ross <hi@alyssa.is> John Ericson2024-04-304-10/+6
* | nixVersions.unstable: build from master, re-init at 2.22.0.pre20240321_6fd2f42c•••The idea behind that is to enable users and developers of downstream tools such as home-manager to test Nix master for several reasons: * Nix is currently trying to have a `master` branch that's always releasable[1]. We're still on Nix 2.18 in nixpkgs due to too many notable regressions. Enabling people to test latest master may help on that end. * This uses the most bleeding-edge Nix, but our packaging, so we can identify issues with our packaging early. * From what I've seen, most people are using the packages from nixpkgs anyways instead of the upstream flake, this is far more convenient anyways. My plan is to update this once a week. Right now we rely on the `installCheckPhase` here, but as soon as we have proper regression testing[2], we may want to add `nixUnstable` there as well (however with failures being allowed probably). [1] https://discourse.nixos.org/t/nix-release-schedule-and-roadmap/14204 [2] https://github.com/NixOS/nixpkgs/pull/304332 Maximilian Bosch2024-04-281-1/+1
|/
* lib/licenses: add unicode-30Dee Anzorge2024-04-281-0/+5
* lib/systems: add microblaze-embedded•••Adds a new target for `pkgsCross` that can be used for building freestanding code for microblaze targets (e.g. Xilinx PMU firmware). Jared Baur2024-04-241-0/+5
* Merge pull request #214021 from tweag/ifilter0•••lib.lists.ifilter0: initSilvan Mosberger2024-04-223-2/+77
|\
| * lib.lists.ifilter0: initSilvan Mosberger2024-04-223-2/+77
* | lib: Document status of deprecated.nix and move it•••This is all I could find after co-maintaining lib for a long time. I've had the fortune of basically not really noticing this file, because it has had very few interactions until the confusion in https://github.com/NixOS/nixpkgs/pull/304277 It seems to be a state of limbo, which would be nice to resolve (with great care), but this is not urgent, and first we should document its status. Robert Hensing2024-04-213-1/+12
|/
* Merge master into staging-nextgithub-actions[bot]2024-04-194-25/+99
|\
| * Merge pull request #298680 from gvolpe/lib/transposeMap•••lib/attrsets: add mapCartesianProduct functionRick van Schijndel2024-04-194-25/+99
| |\
| | * lib/tests: apply lintsGabriel Volpe2024-04-151-9/+4
| | * tree-wide: use mapCartesianProductGabriel Volpe2024-04-151-3/+19
| | * lib/attrsets: introduce mapCartesianProductGabriel Volpe2024-04-153-1/+60
| | * tree-wide: use cartesianProductGabriel Volpe2024-04-151-6/+6
| | * lib/attrsets: rename cartesianProductOfSets to cartesianProductGabriel Volpe2024-04-152-6/+10
* | | Merge master into staging-nextgithub-actions[bot]2024-04-162-2/+2
|\| |
| * | lib: clarify warning about mdDocéclairevoyant2024-04-151-1/+1
| * | lib: add mdDoc back in to provide proper warningéclairevoyant2024-04-151-1/+1
| |/
* | Merge branch 'master' into staging-nextWeijia Wang2024-04-133-7/+9
|\|
| * lib.mdDoc: remove and replace with warningstuebinm2024-04-131-2/+4
| * lib: remove all uses of lib.mdDoc•••this change is otherwise a no-op, as lib.mdDoc is already defined to be the identity function. stuebinm2024-04-132-5/+5
* | Merge branch 'staging' into staging-next•••Conflicts (tried to quickly resolve somehow, checked eval): pkgs/development/python-modules/apsw/default.nix pkgs/development/python-modules/mido/default.nix pkgs/development/python-modules/pytest-bdd/default.nix pkgs/development/python-modules/sparse/default.nix Vladimír Čunát2024-04-121-1/+1
|\ \ | |/ |/|
| * Merge branch 'staging-next' into stagingWeijia Wang2024-04-092-4/+16
| |\
| * \ Merge remote-tracking branch 'upstream/staging-next' into staging•••Conflicts: pkgs/development/python-modules/pynetdicom/default.nix annalee2024-04-053-1/+35
| |\ \
| * \ \ Merge staging-next into staginggithub-actions[bot]2024-04-046-37/+53
| |\ \ \
| * | | | lib.fileset: fix typo: compatibity to compatibilityPhilip Taron2024-04-021-1/+1
* | | | | Merge pull request #284551 from hercules-ci/types-attrTag•••Add `types.attrTag`Silvan Mosberger2024-04-097-3/+306
|\ \ \ \ \ | |_|_|_|/ |/| | | |
| * | | | types.attrTag: Remove unnecessary definitions override ••• Committing because tests pass. Co-authored-by: Silvan Mosberger <github@infinisil.com>Robert Hensing2024-04-041-1/+0
| * | | | lib.types.attrTag: Fix declarationPositions after mergeRobert Hensing2024-04-042-4/+18
| * | | | lib/tests/modules/types-attrTag.nix: Test other option doc attrsRobert Hensing2024-04-041-0/+9
| * | | | lib/tests/modules/types-attrTag.nix: Clean up unneeded commentRobert Hensing2024-04-041-1/+0
| * | | | types.attrTag: Remove substSubmodules•••I haven't managed to trigger the error, and it turns out that this method is optional. Specifically, getSubmodules is unimplemented (and unimplementable), the tests pass, and we seem to have good location info. Robert Hensing2024-04-041-9/+0
| * | | | types.attrTagWith: remove•••Keep it simple for now. Robert Hensing2024-04-042-11/+19
| * | | | lib.types.attrTag: Custom error when passing bare typeRobert Hensing2024-04-043-1/+23
| * | | | lib/tests/modules/types-attrTag: Test against unexpected attrs•••Thank you lheckemann for pointing this out! Robert Hensing2024-04-041-6/+6
| * | | | lib.types.attrTag: Remove tags from description•••You can find them in the sub-options now. Robert Hensing2024-04-042-7/+8
| * | | | lib.modules.evalOptionValue: Undeprecate for lib.types•••lib.types.attrTag needs it. Robert Hensing2024-04-042-2/+3
| * | | | lib.types.attrTag: Provide declarations, definitionsRobert Hensing2024-04-042-2/+20
| * | | | lib/types.nix: Fix getSubOptions doc•••This comment was added in 73f32d03758a5, when it was already supposed to be an attrset. Robert Hensing2024-04-041-1/+1
| * | | | lib.types.attrTag: Support type mergingRobert Hensing2024-04-042-1/+32
| * | | | lib.types.attrTag: Take options instead of typesRobert Hensing2024-04-042-21/+55
| * | | | lib.types.attrTag: Support module docsRobert Hensing2024-04-043-1/+65
| * | | | lib.types.attrTag: initRobert Hensing2024-02-113-0/+112
* | | | | licenses: rename `apsl{10,20}` -> `apple-psl{10,20}`•••Part 1 of #301908. This renames the two versions of the Apple Public Source License seen in nixpkgs; `apsl20` was often confused as being for the widely-used Apache License 2.0. iliana etaoin2024-04-081-2/+14
* | | | | lib.hasAttrByPath: fix typo (#302042)Tharun Thennarasu2024-04-061-2/+2
| |_|_|/ |/| | |
* | | | Merge pull request #301556 from edef1c/lib-xor•••lib: add xorSilvan Mosberger2024-04-043-1/+35
|\ \ \ \ | |_|_|/ |/| | |