summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* lib/licenses: add missing spdxId and remove urls from licenses that have a sp...jopejoe12024-11-151-16/+1
|\
| * lib/licenses: remove urls from licenses that have a spdxId•••if the licenses have a spdxId the url get auto-generated from it. jopejoe12024-11-061-16/+0
| * lib/licenses: set spdx for Ubuntu font licensejopejoe12024-11-061-0/+1
* | 25.05 is WarblerTristan Ross2024-11-142-2/+2
* | Merge master into staging-nextgithub-actions[bot]2024-11-131-0/+5
|\ \
| * | lib/licenses: add bsd3Lbnlqbisi2024-11-131-0/+5
* | | Merge master into staging-nextgithub-actions[bot]2024-11-101-1/+1
|\| |
| * | lib/minver: bump to 2.3.17 (#354586)Winter2024-11-091-1/+1
| |\ \
| | * | lib/minver: bump to 2.3.17•••The first version that supports zstd compression, to create the option to eventually switch compression for the binary cache. It was released one year ago on 2023-11-03 and first shipped in NixOS 23.11. Martin Weinelt2024-11-081-1/+1
* | | | Merge master into staging-nextgithub-actions[bot]2024-11-091-6/+18
|\| | |
| * | | docs: make sample code valid Nix expressionsValentin Gagarin2024-11-081-6/+18
| |/ /
* | | Merge remote-tracking branch 'origin/master' into staging-nextK9002024-11-073-2/+9
|\| |
| * | lib.systems.examples: add aarch64-w64-mingw32seth2024-11-061-0/+7
| * | lib.systems.doubles: add aarch64-windows doubleseth2024-11-062-2/+2
| |/
* | Merge staging-next into staginggithub-actions[bot]2024-11-041-0/+5
|\|
| * lib/licenses.nix: add tost•••this adds the license for OpenUSD which is explained here https://forum.aousd.org/t/upcoming-openusd-license-update/1561 Signed-off-by: Florian Brandes <florian.brandes@posteo.de> Florian Brandes2024-11-041-0/+5
* | Merge staging-next into staginggithub-actions[bot]2024-11-021-0/+9
|\|
| * lib/licenses: mark `watcom` as non‐Free (#352608)Emily2024-11-011-0/+9
| |\
| | * lib/licenses: mark `watcom` as non‐FreeEmily2024-10-311-0/+9
* | | Merge staging-next into staginggithub-actions[bot]2024-11-012-3/+22
|\| |
| * | lib: improve filterAttrs (#345547)Silvan Mosberger2024-11-012-3/+22
| |\ \ | | |/ | |/|
| | * lib: refactor `filterAttrs`•••`filter` is a primop which is designed for this task, and it saves the allocation of some singleton lists here. Robert Hensing2024-10-311-2/+2
| | * lib/tests: test `filterAttrs`h7x42024-10-251-0/+20
| | * lib: improve `filterAttrs`•••Co-authored-by: Silvan Mosberger <contact@infinisil.com> h7x42024-10-251-2/+1
* | | Merge staging-next into staginggithub-actions[bot]2024-10-281-0/+5
|\| |
| * | fcitx5-mozc: 2.26.4220.102 -> 2.30.5544.102 (#346680)h7x42024-10-271-0/+5
| |\ \
| | * | licenses: add naist-2003musjj2024-10-051-0/+5
* | | | lib/licenses: introduce MIT-CMU licenseMartin Weinelt2024-10-241-0/+5
|/ / /
* | | lib.oldestSupportedReleaseIsAtLeast: rename from bad name (#347258)Silvan Mosberger2024-10-096-11/+20
|\ \ \
| * | | treewide: lib.isInOldestRelease -> lib.oldestSupportedReleaseIsAtLeastRobert Hensing2024-10-084-10/+10
| * | | lib.oldestSupportedReleaseIsAtLeast: rename from bad name and deprecate after...•••It seems impossible to describe this condition more concisely without making it incomprehensible. Robert Hensing2024-10-082-1/+10
* | | | lib/systems/architectures: add sapphirerapids/emeraldrapids•••For reference: https://en.wikichip.org/wiki/intel/microarchitectures/sapphire_rapids https://www.phoronix.com/news/GCC-13-Initial-Emerald-Rapids https://www.phoronix.com/news/LLVM-Adds-Intel-Emerald-Rapids Jörg Thalheim2024-10-081-0/+4
|/ / /
* | | lib/licenses.nix: misc fixes (#345813)h7x42024-10-061-3/+3
|\ \ \
| * | | lib.licenses.purdueBsd: fix typo in fullName and commentZitrone2024-10-021-1/+1
| * | | lib/licenses.nix: remove outdated commentZitrone2024-10-021-1/+1
| * | | lib.licenses.iasl: correct fullNameZitrone2024-10-021-1/+1
| | |/ | |/|
* | | lib.modules: fix test line using empty "$@"•••Probably a missed left over from somewhere in the commit 58f385f68005a6fed7b526ee2c19fef11d87038c. As can be seen in that commit where this line was introduced, "$@" was also just emptied by the last `set` call in line 169. This line is currently valid, but breaks suddenly when somewhere earlier a `set --` instruction is used in the future. Neither in commit 58f385f68005a6fed7b526ee2c19fef11d87038c nor in PR https://github.com/NixOS/nixpkgs/pull/197547 have I found anything stating that this "defect" was intentional. Felix Stupp2024-10-051-1/+1
| |/ |/|
* | nixos/binfmt: Add option to use static emulators when available•••The fixBinary flag will be enabled if a static emulator is in use. Zhaofeng Li2024-10-012-0/+5
* | lib/systems: use qemu-user package instead of custom definitionJulius Michaelis2024-10-011-20/+1
* | lib/modules: Improve error when loading a flake as a module (#344688)Silvan Mosberger2024-10-012-8/+108
|\ \
| * | lib/modules: Improve error when loading a flake as a moduleRobert Hensing2024-09-262-8/+108
* | | lib.systems: fix rustTarget for WASI•••The corresponding Rust target name is "wasm32-wasip?", not "wasm32-unknown-wasi". oxalica2024-09-301-2/+11
* | | lib.systems.examples: Fix deprecated attr•••`For android 'sdkVer' has been renamed to 'androidSdkVersion'` While doing the above rename I forgot to consider if there were still darwin platforms in `lib.systems.examples` using `sdkVer` These still fail eval, but that happened before the renaming too. `error: Unsupported sdk: 14.3` Artturin2024-09-301-4/+4
| |/ |/|
* | Color transformation language init (#338697)Connor Baker2024-09-271-0/+5
|\ \ | |/ |/|
| * aces-container: init at 1.0.2Mica Semrick2024-09-101-0/+5
* | treewide: replace `stdenv.is` with `stdenv.hostPlatform.is`•••In preparation for the deprecation of `stdenv.isX`. These shorthands are not conducive to cross-compilation because they hide the platforms. Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way One example of why this is bad and especially affects compiler packages https://www.github.com/NixOS/nixpkgs/pull/343059 There are too many files to go through manually but a treewide should get users thinking when they see a `hostPlatform.isX` in a place where it doesn't make sense. ``` fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is" fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is" ``` Artturin2024-09-251-1/+1
* | lib.types.anything: remove custom logic for lists (#340202)Robert Hensing2024-09-184-10/+7
|\ \
| * | lib.types.anything: remove custom logic for lists (default to 'mergeEqualOpti...•••Previously, for values of type list, the merge function would only retain the value if the number of option definitions was less than or equal to 1, and would throw an error for conflicting definitions to avoid potentially unwanted list merges. This change removes that logic, defaulting to the 'mergeEqualOption' function for values of type list. This approach maintains the same safeguard against merging different lists while allowing lists with identical values to be merged. Alexis Destrez2024-09-074-10/+7
* | | lib.fetchers: add hash-normalization helpers (#342072)nicoo2024-09-173-1/+339
|\ \ \
| * | | lib.fetchers.normalizeHash: more implementation comment and clearer variable ...nicoo2024-09-171-11/+12