summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* lib/trivial: Bump oldestSupportedReleaseto to 23.05Martin Weinelt2023-07-041-1/+1
* Merge pull request #237895 from emilytrau/tart•••tart: init at 1.6.0Pol Dellaiera2023-07-021-0/+7
|\
| * licenses: add Fair Source License v0.9Emily Trau2023-06-161-0/+7
* | Merge pull request #239255 from figsoda/stringfigsoda2023-06-301-1/+2
|\ \
| * | lib: simplify stringToCharactersfigsoda2023-06-221-1/+2
* | | lib.systems: add gnuabin32 to isGnu•••The `isGnu` predicate was missing `gnuabin32`. This commit corrects that by adding it. Adam Joseph2023-06-291-1/+1
* | | Merge pull request #237259 from ncfavier/extraDependencies-path•••nixos/top-level: change extraDependencies from packages to pathsNaïm Favier2023-06-274-3/+43
|\ \ \
| * | | lib/tests: remove experimental-features•••Now that the lib is tested with Nix 2.3, this isn't needed any more and causes warnings. Naïm Favier2023-06-271-3/+0
| * | | lib/tests/modules.sh: Test types.pathInStore•••Add missing test cases. I think the .links case should be rejected even though it's technically a path in the store. Robert Hensing2023-06-272-0/+34
| * | | lib/types: add pathInStoreNaïm Favier2023-06-271-0/+9
* | | | texlive: fix licensing information for doc-only-packages (#239528)•••* licenses: add opubl * texlive: fix license for npp-for-context and lshort-german This unbreaks evaluation for `texlive.combine { inherit (texlive) scheme-full; pkgFilter = (_: true) }`. The problem doesn't manifest for the default pkgFilter as `npp-for-context` is a doc-only-package (that by the way has recently been removed from texlive).apfelkuchen62023-06-261-0/+5
* | | | lib/path/tests/prop.sh: Add --show-traceRobert Hensing2023-06-261-1/+1
* | | | lib/path/tests: Add --show-trace•••This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value. Robert Hensing2023-06-261-2/+3
|/ / /
* | | lib.licenses: add Sustainable Use License (#239455)Hugh O'Brien2023-06-251-0/+8
* | | Merge pull request #238136 from hercules-ci/nixos-nixpkgs-dont-check-when-_mo...•••`nixos/nixpkgs`: Don't check when `_module.args.pkgs` is setRobert Hensing2023-06-233-0/+58
|\ \ \
| * | | lib/modules.nix: Clean up mergeAttrDefinitionsWithPrio implRobert Hensing2023-06-231-9/+2
| * | | lib.modules: Add mergeAttrDefinitionsWithPrio•••This will let us make assertions involving _module.args.pkgs, which is not an option but a value attribute, and therefore doesn't have its own highestPrio to inspect. The new function gives us that info. Robert Hensing2023-06-163-0/+65
* | | | Merge pull request #239233 from Artturin/finishremovals1Artturi2023-06-231-6/+0
|\ \ \ \
| * | | | splice.nix: finish nativeDrv,crossDrv removalArtturin2023-06-221-6/+0
| | |/ / | |/| |
* | | | lib/types: remove unused recfigsoda2023-06-231-1/+1
* | | | lib/sources: remove unused let bindingsfigsoda2023-06-231-6/+0
* | | | lib/modules: remove unused let bindingsfigsoda2023-06-231-1/+0
* | | | lib/licenses: remove unused recfigsoda2023-06-231-1/+1
* | | | lib/filesystem: remove unused let bindingsfigsoda2023-06-231-4/+0
* | | | lib/debug: remove unused let bindingsfigsoda2023-06-231-7/+0
* | | | lib/attrsets: remove unused let bindingsfigsoda2023-06-231-1/+1
* | | | lib/system: move toLosslessStringMaybe into lib/tests•••toLosslessStringMaybe is not used by anything other than lib/tests, so it can be private to that file. I don't think this function was terribly well thought-through. If people start using it, we will become permanently dependent on the ability to test platforms for equality. It also makes the elaboration process more fragile, because it encourages code outside of nixpkgs to become sensitive to the minute details of how elaboration happens. Adam Joseph2023-06-222-17/+18
|/ / /
* | | Merge pull request #237610 from tweag/lib.path.hasPrefix•••`lib.path.hasPrefix`: initRobert Hensing2023-06-213-2/+89
|\ \ \
| * | | lib.path.hasPrefix: initSilvan Mosberger2023-06-153-2/+83
| * | | lib.path.append: Add a law•••With removePrefix introduced in a future commit this law can then be used to derive removePrefix p (append p s) == subpath.normalise s => (wrap with append) append p (removePrefix p (append p s)) == append p (subpath.normalise s) => (append is not influenced by subpath normalisation) append p (removePrefix p (append p s)) == append p s => (substitute q = append p s) append p (removePrefix p q) == q Not included in the docs because it's not that important, just shows that the first statement is more general than the second one (because this derivation doesn't work the other way) Silvan Mosberger2023-04-051-0/+6
* | | | licenses: add mulan-psl2Astro2023-06-201-0/+6
* | | | Merge pull request #237167 from CHN-beta/masterSandro2023-06-191-0/+3
|\ \ \ \
| * | | | stdenv: add alderlake support•••Signed-off-by: Haonan Chen <chn@chn.moe> chn2023-06-111-0/+3
| | |_|/ | |/| |
* | | | Merge pull request #237557 from pennae/dedocbookify-nixos•••nixos/doc: dedocbookifypennae2023-06-193-43/+16
|\ \ \ \
| * | | | lib: unhide _module.args•••this was a temporary fix that should hopefully no longer be necessary. pennae2023-06-161-5/+0
| * | | | lib: turn *MD functions into aliases•••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. pennae2023-06-132-24/+14
| * | | | lib/options: remove literalDocBook•••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. pennae2023-06-132-14/+2
| |/ / /
* | | | Merge pull request #238480 from amjoseph-nixpkgs/pr/lib-systems-redundant•••lib/systems: remove redundant test from selectEmulatorWeijia Wang2023-06-191-2/+1
|\ \ \ \
| * | | | lib/systems: remove redundant test from selectEmulator•••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 Adam Joseph2023-06-181-2/+1
* | | | | Merge pull request #238456 from apfelkuchen6/texlive-licenses•••texlive: add licensing informationPol Dellaiera2023-06-191-0/+45
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | licenses: add GFLapfelkuchen062023-06-191-0/+5
| * | | | licenses: add GFSLapfelkuchen062023-06-191-0/+5
| * | | | licenses: add Artistic-1.0-cl8apfelkuchen062023-06-191-0/+5
| * | | | licenses: add CC-BY-SA-2.0apfelkuchen062023-06-191-0/+5
| * | | | licenses: add CC-BY-SA-1.0apfelkuchen062023-06-191-0/+5
| * | | | licenses: add CC-BY-1.0apfelkuchen062023-06-191-0/+5
| * | | | licenses: add LPPL-1.3aapfelkuchen062023-06-191-0/+5
| * | | | licenses: add LPPL-1.0apfelkuchen062023-06-191-0/+5
| * | | | licenses: add Knuth licenseapfelkuchen062023-06-181-0/+5
| | |_|/ | |/| |
* / | | lib.systems: add znver4 architectureFabián Heredia Montiel2023-06-161-0/+2
|/ / /