about summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* lib.systems: add gnuabin32 to isGnuAdam Joseph2023-06-29
| | | | | The `isGnu` predicate was missing `gnuabin32`. This commit corrects that by adding it.
* Merge pull request #237259 from ncfavier/extraDependencies-pathNaïm Favier2023-06-27
|\ | | | | nixos/top-level: change extraDependencies from packages to paths
| * lib/tests: remove experimental-featuresNaïm Favier2023-06-27
| | | | | | | | | | Now that the lib is tested with Nix 2.3, this isn't needed any more and causes warnings.
| * lib/tests/modules.sh: Test types.pathInStoreRobert Hensing2023-06-27
| | | | | | | | | | Add missing test cases. I think the .links case should be rejected even though it's technically a path in the store.
| * lib/types: add pathInStoreNaïm Favier2023-06-27
| |
* | texlive: fix licensing information for doc-only-packages (#239528)apfelkuchen62023-06-26
| | | | | | | | | | | | | | | | | | | | * 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).
* | lib/path/tests/prop.sh: Add --show-traceRobert Hensing2023-06-26
| |
* | lib/path/tests: Add --show-traceRobert Hensing2023-06-26
|/ | | | | This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value.
* lib.licenses: add Sustainable Use License (#239455)Hugh O'Brien2023-06-25
|
* Merge pull request #238136 from ↵Robert Hensing2023-06-23
|\ | | | | | | | | hercules-ci/nixos-nixpkgs-dont-check-when-_module.args.pkgs-is-set `nixos/nixpkgs`: Don't check when `_module.args.pkgs` is set
| * lib/modules.nix: Clean up mergeAttrDefinitionsWithPrio implRobert Hensing2023-06-23
| |
| * lib.modules: Add mergeAttrDefinitionsWithPrioRobert Hensing2023-06-16
| | | | | | | | | | | | 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.
* | Merge pull request #239233 from Artturin/finishremovals1Artturi2023-06-23
|\ \
| * | splice.nix: finish nativeDrv,crossDrv removalArtturin2023-06-22
| | |
* | | lib/types: remove unused recfigsoda2023-06-23
| | |
* | | lib/sources: remove unused let bindingsfigsoda2023-06-23
| | |
* | | lib/modules: remove unused let bindingsfigsoda2023-06-23
| | |
* | | lib/licenses: remove unused recfigsoda2023-06-23
| | |
* | | lib/filesystem: remove unused let bindingsfigsoda2023-06-23
| | |
* | | lib/debug: remove unused let bindingsfigsoda2023-06-23
| | |
* | | lib/attrsets: remove unused let bindingsfigsoda2023-06-23
| | |
* | | lib/system: move toLosslessStringMaybe into lib/testsAdam Joseph2023-06-22
|/ / | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge pull request #237610 from tweag/lib.path.hasPrefixRobert Hensing2023-06-21
|\ \ | | | | | | `lib.path.hasPrefix`: init
| * | lib.path.hasPrefix: initSilvan Mosberger2023-06-15
| | |
| * | lib.path.append: Add a lawSilvan Mosberger2023-04-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | | licenses: add mulan-psl2Astro2023-06-20
| | |
* | | 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
|/ /