Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2023-06-30 | Merge pull request #239255 from figsoda/string | figsoda | 1 | -1/+2 | |
2023-06-29 | lib.systems: add gnuabin32 to isGnu | Adam Joseph | 1 | -1/+1 | |
The `isGnu` predicate was missing `gnuabin32`. This commit corrects that by adding it. | |||||
2023-06-27 | Merge pull request #237259 from ncfavier/extraDependencies-path | Naïm Favier | 4 | -3/+43 | |
nixos/top-level: change extraDependencies from packages to paths | |||||
2023-06-27 | lib/tests: remove experimental-features | Naïm Favier | 1 | -3/+0 | |
Now that the lib is tested with Nix 2.3, this isn't needed any more and causes warnings. | |||||
2023-06-27 | lib/tests/modules.sh: Test types.pathInStore | Robert Hensing | 2 | -0/+34 | |
Add missing test cases. I think the .links case should be rejected even though it's technically a path in the store. | |||||
2023-06-27 | lib/types: add pathInStore | Naïm Favier | 1 | -0/+9 | |
2023-06-26 | texlive: fix licensing information for doc-only-packages (#239528) | apfelkuchen6 | 1 | -0/+5 | |
* 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). | |||||
2023-06-26 | lib/path/tests/prop.sh: Add --show-trace | Robert Hensing | 1 | -1/+1 | |
2023-06-26 | lib/path/tests: Add --show-trace | Robert Hensing | 1 | -2/+3 | |
This should help troubleshoot errors. Fyi --eval is just a flag, not an option with a value. | |||||
2023-06-25 | lib.licenses: add Sustainable Use License (#239455) | Hugh O'Brien | 1 | -0/+8 | |
2023-06-23 | Merge pull request #238136 from ↵ | Robert Hensing | 3 | -0/+58 | |
hercules-ci/nixos-nixpkgs-dont-check-when-_module.args.pkgs-is-set `nixos/nixpkgs`: Don't check when `_module.args.pkgs` is set | |||||
2023-06-23 | Merge pull request #239233 from Artturin/finishremovals1 | Artturi | 1 | -6/+0 | |
2023-06-23 | lib/modules.nix: Clean up mergeAttrDefinitionsWithPrio impl | Robert Hensing | 1 | -9/+2 | |
2023-06-23 | lib/types: remove unused rec | figsoda | 1 | -1/+1 | |
2023-06-23 | lib/sources: remove unused let bindings | figsoda | 1 | -6/+0 | |
2023-06-23 | lib/modules: remove unused let bindings | figsoda | 1 | -1/+0 | |
2023-06-23 | lib/licenses: remove unused rec | figsoda | 1 | -1/+1 | |
2023-06-23 | lib/filesystem: remove unused let bindings | figsoda | 1 | -4/+0 | |
2023-06-23 | lib/debug: remove unused let bindings | figsoda | 1 | -7/+0 | |
2023-06-23 | lib/attrsets: remove unused let bindings | figsoda | 1 | -1/+1 | |
2023-06-22 | lib: simplify stringToCharacters | figsoda | 1 | -1/+2 | |
2023-06-22 | splice.nix: finish nativeDrv,crossDrv removal | Artturin | 1 | -6/+0 | |
2023-06-22 | lib/system: move toLosslessStringMaybe into lib/tests | Adam Joseph | 2 | -17/+18 | |
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. | |||||
2023-06-21 | Merge pull request #237610 from tweag/lib.path.hasPrefix | Robert Hensing | 3 | -2/+89 | |
`lib.path.hasPrefix`: init | |||||
2023-06-20 | licenses: add mulan-psl2 | Astro | 1 | -0/+6 | |
2023-06-19 | Merge pull request #237167 from CHN-beta/master | Sandro | 1 | -0/+3 | |
2023-06-19 | Merge pull request #237557 from pennae/dedocbookify-nixos | pennae | 3 | -43/+16 | |
nixos/doc: dedocbookify | |||||
2023-06-19 | Merge pull request #238480 from amjoseph-nixpkgs/pr/lib-systems-redundant | Weijia Wang | 1 | -2/+1 | |
lib/systems: remove redundant test from selectEmulator | |||||
2023-06-19 | Merge pull request #238456 from apfelkuchen6/texlive-licenses | Pol Dellaiera | 1 | -0/+45 | |
texlive: add licensing information | |||||
2023-06-19 | licenses: add GFL | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add GFSL | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add Artistic-1.0-cl8 | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add CC-BY-SA-2.0 | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add CC-BY-SA-1.0 | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add CC-BY-1.0 | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add LPPL-1.3a | apfelkuchen06 | 1 | -0/+5 | |
2023-06-19 | licenses: add LPPL-1.0 | apfelkuchen06 | 1 | -0/+5 | |
2023-06-18 | lib/systems: remove redundant test from selectEmulator | Adam Joseph | 1 | -2/+1 | |
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 | |||||
2023-06-18 | licenses: add Knuth license | apfelkuchen06 | 1 | -0/+5 | |
2023-06-16 | lib.modules: Add mergeAttrDefinitionsWithPrio | Robert Hensing | 3 | -0/+65 | |
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. | |||||
2023-06-16 | lib.systems: add znver4 architecture | Fabián Heredia Montiel | 1 | -0/+2 | |
2023-06-16 | lib: unhide _module.args | pennae | 1 | -5/+0 | |
this was a temporary fix that should hopefully no longer be necessary. | |||||
2023-06-15 | Merge pull request #237512 from hercules-ci/lib-system-equals | Artturi | 3 | -7/+90 | |
2023-06-15 | lib.path.hasPrefix: init | Silvan Mosberger | 3 | -2/+83 | |
2023-06-15 | licenses: add BSD-3-Clause-Clear | ners | 1 | -0/+5 | |
2023-06-13 | lib: turn *MD functions into aliases | pennae | 2 | -24/+14 | |
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. | |||||
2023-06-13 | lib/options: remove literalDocBook | pennae | 2 | -14/+2 | |
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. | |||||
2023-06-13 | lib/tests/release.nix: Run systems tests on OfBorg | Robert Hensing | 2 | -0/+5 | |
2023-06-13 | lib.systems.equals: Ignore all function attributes reflectively | Robert Hensing | 2 | -3/+3 | |
Co-authored-by: Artturi <Artturin@artturin.com> | |||||
2023-06-13 | lib.systems.{equals,toLosslessStringMaybe}: init | Robert Hensing | 2 | -8/+86 | |