summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge pull request #237167 from CHN-beta/masterSandro2023-06-19
|\
| * stdenv: add alderlake supportchn2023-06-11
| | | | | | | | Signed-off-by: Haonan Chen <chn@chn.moe>
* | Merge pull request #237557 from pennae/dedocbookify-nixospennae2023-06-19
|\ \ | | | | | | nixos/doc: dedocbookify
| * | lib: unhide _module.argspennae2023-06-16
| | | | | | | | | | | | this was a temporary fix that should hopefully no longer be necessary.
| * | lib: turn *MD functions into aliasespennae2023-06-13
| | | | | | | | | | | | | | | | | | with docbook gone and MD the default these aren't needed any more. we can't remove them yet because there's thousands of uses, but maybe some day we can.
| * | lib/options: remove literalDocBookpennae2023-06-13
| |/ | | | | | | | | | | no longer supported. warning when used would not be appropriate, and docbook has been on the way out for long enough that throwing an error should not be necessary either.
* | Merge pull request #238480 from amjoseph-nixpkgs/pr/lib-systems-redundantWeijia Wang2023-06-19
|\ \ | | | | | | lib/systems: remove redundant test from selectEmulator
| * | lib/systems: remove redundant test from selectEmulatorAdam Joseph2023-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit eef4bbd82f4c2 changed the conditional in selectEmulator from `isCompatible` (which examines only the CPU, rather than the entire platform) to `canExecute`. This made the first conjunct redundant. Let's drop the redundant part. https://github.com/NixOS/nixpkgs/pull/238331#discussion_r1233277119
* | | Merge pull request #238456 from apfelkuchen6/texlive-licensesPol Dellaiera2023-06-19
|\ \ \ | |/ / |/| | texlive: add licensing information
| * | licenses: add GFLapfelkuchen062023-06-19
| | |
| * | licenses: add GFSLapfelkuchen062023-06-19
| | |
| * | licenses: add Artistic-1.0-cl8apfelkuchen062023-06-19
| | |
| * | licenses: add CC-BY-SA-2.0apfelkuchen062023-06-19
| | |
| * | licenses: add CC-BY-SA-1.0apfelkuchen062023-06-19
| | |
| * | licenses: add CC-BY-1.0apfelkuchen062023-06-19
| | |
| * | licenses: add LPPL-1.3aapfelkuchen062023-06-19
| | |
| * | licenses: add LPPL-1.0apfelkuchen062023-06-19
| | |
| * | licenses: add Knuth licenseapfelkuchen062023-06-18
| | |
* | | lib.systems: add znver4 architectureFabián Heredia Montiel2023-06-16
|/ /
* | Merge pull request #237512 from hercules-ci/lib-system-equalsArtturi2023-06-15
|\ \
| * | lib/tests/release.nix: Run systems tests on OfBorgRobert Hensing2023-06-13
| | |
| * | lib.systems.equals: Ignore all function attributes reflectivelyRobert Hensing2023-06-13
| | | | | | | | | | | | Co-authored-by: Artturi <Artturin@artturin.com>
| * | lib.systems.{equals,toLosslessStringMaybe}: initRobert Hensing2023-06-13
| |/
* / licenses: add BSD-3-Clause-Clearners2023-06-15
|/
* Merge pull request #234894 from emilytrau/minimal-heirloomJohn Ericson2023-06-10
|\ | | | | minimal-bootstrap.heirloom: init at 070715
| * licenses: add Caldera and Info-ZipEmily Trau2023-06-05
| |
* | Merge pull request #235267 from tweag/lazier-findFirstRobert Hensing2023-06-06
|\ \ | | | | | | `lib.findFirst`: Add tests and make lazier
| * | lib.list.findFirst: Make lazierSilvan Mosberger2023-06-06
| | | | | | | | | | | | There's no need to evaluate list elements after a matching element
| * | lib/tests: Add findFirst testsSilvan Mosberger2023-06-06
| | |
* | | lib.derivations: fix comment typoYueh-Shun Li2023-06-02
| | |
* | | Merge pull request #234070 from tweag/pathType-testsRobert Hensing2023-06-01
|\ \ \ | | | | | | | | Init `nixVersions.minimum` and fix `lib` tests for all Nix versions
| * | | lib/tests: Also run with nixVersions.minimum and nixVersions.unstableSilvan Mosberger2023-06-01
| | | | | | | | | | | | | | | | | | | | The previous commits ensure that the tests also succeed with those versions
| * | | lib/tests: Fix when run with Nix 2.3Silvan Mosberger2023-06-01
| | | |
| * | | lib/tests/filesystem.sh: Check success and failure separatelySilvan Mosberger2023-06-01
| | | |
| * | | lib.filesystem.pathType: Fix tests for Nix >= 2.14Silvan Mosberger2023-05-25
| | |/ | |/|
* | | lib.systems.doubles: add big-endian MIPS linux doublesAlyssa Ross2023-06-01
| | | | | | | | | | | | | | | | | | We already have examples for these, but since we didn't actually recognise the doubles, it wasn't possible to build any packages for them without setting allowUnsupportedSystem.
* | | lib.systems: remove mipsisa(32|64)r6 triplesAlyssa Ross2023-06-01
| |/ |/| | | | | | | These arc the same as the normal triples apart for a difference in -march, so there's no need for them to be separate triples.
* | lib.concatMapAttrs: Simplify stack traceRobert Hensing2023-05-31
|/
* Merge pull request #224834 from tweag/pathType-and-coRobert Hensing2023-05-23
|\ | | | | Improvements to pathType, pathIsDirectory and pathIsRegularFile
| * lib/filesystem.nix: Update top commentSilvan Mosberger2023-05-22
| | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| * lib.filesystem.pathType: Use new builtins.readFileType if availableSilvan Mosberger2023-05-22
| | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| * lib.filesystem.pathType and co.: Improve documentationSilvan Mosberger2023-05-22
| |
| * lib.filesystem.pathType: Improve error for non-existent pathsSilvan Mosberger2023-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously it would fail with error: attribute 'nonexistent' missing at nixpkgs/lib/filesystem.nix:29:10: 28| if dirOf path == path then "directory" 29| else (readDir (dirOf path)).${baseNameOf path}; | ^ 30|
| * lib.filesystem.pathType: Fix for filesystem root argumentSilvan Mosberger2023-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously this function couldn't handle / being passed, it would throw an error: error: attribute '' missing at nixpkgs/lib/filesystem.nix:24:20: 23| */ 24| pathType = path: (readDir (dirOf path)).${baseNameOf path}; | ^ 25| Consequently this also fixes the lib.filesystem.{pathIsDirectory,pathIsRegularFile} functions.
| * lib.filesystem: Minor refactorSilvan Mosberger2023-05-22
| | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| * lib.filesystem.pathType and co.: Add testsSilvan Mosberger2023-05-22
| | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| * lib.sources.pathType and co.: Move to lib.filesystemSilvan Mosberger2023-04-05
| | | | | | | | | | These functions only work with the filesystem, they don't import anything as sources
* | 23.11 is TapirRaito Bezarius2023-05-22
| |
* | Merge pull request #233050 from NixOS/bsl-is-redistributableRyan Lahfa2023-05-22
|\ \ | | | | | | lib/licenses: Business Source License 1.1 is redistributable
| * | lib/licenses: Business Source License 1.1 is redistributableRaito Bezarius2023-05-20
| | | | | | | | | | | | It is written in its text, still unfree though and cannot be used for *production*.