summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2022-10-09licenses: add libssh2 licenseWeijia Wang
2022-10-03Merge pull request #188265 from steveeJ-forks/pr-holochain-launcher-binSandro
2022-10-01Merge pull request #193132 from figsoda/clean-upfigsoda
treewide: clean up
2022-09-29lib/systems/default.nix: add efiArch suffixesIvan Nikolaenko
Move already implemented functionality to the upper level so it could be used in a more generic way. Signed-off-by: Ivan Nikolaenko <ivan.nikolaenko@unikie.com>
2022-09-28lib.generators: simplify toYAMLfigsoda
2022-09-28Merge pull request #192650 from drupol/add-sphinx-contrib-mscgenMartin Weinelt
2022-09-28licenses: add BOLA licensePol Dellaiera
2022-09-28Merge pull request #191540 from hercules-ci/nixosTest-modularRobert Hensing
nixosTest: make modular
2022-09-26lib/tests/maintainers.nix: remove unused bindingfigsoda
2022-09-26lib/types.nix: remove unused bindingsfigsoda
2022-09-26lib/sources.nix: remove unused bindingfigsoda
2022-09-26lib/options.nix: remove unused bindingfigsoda
2022-09-26lib/modules.nix: remove unused bindingsfigsoda
2022-09-26lib/generators.nix: remove unused bindingsfigsoda
2022-09-25lib/types.nix: Document that it should not be usedpiegames
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com> Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
2022-09-24Merge pull request #189836 from erikarvstedt/options-definitionsWithLocationsRobert Hensing
lib/modules: add `definitionsWithLocations` to evaluated options
2022-09-21lib/modules: Fix meta duplication in shorthand syntaxRobert Hensing
2022-09-21lib: Add lazyDerivationRobert Hensing
2022-09-17lib.types: Add parentheses where description is ambiguousRobert Hensing
2022-09-15lib.licenses: add CAL-1.0Stefan Junker
2022-09-13Merge pull request #189314 from Artturin/addemulatoravailableArtturi
2022-09-11lib/systems: add emulatorAvailableArtturin
``` nix-repl> pkgsCross.arm-embedded.stdenv.hostPlatform.emulatorAvailable pkgsCross.arm-embedded.buildPackages false nix-repl> pkgsCross.aarch64-multiplatform.stdenv.hostPlatform.emulatorAvailable pkgsCross.aarch64-multiplatform.buildPackages true ``` will be useful for stuff like handling https://github.com/NixOS/nixpkgs/issues/187109
2022-09-10lib/options: deprecate docbook text and literalDocBookpennae
deprecate literalDocBook by adding a warning (that will not fire yet) to its uses and other docbook literal strings by adding optional warning message to mergeJSON.
2022-09-09Merge pull request #181834 from ncfavier/numbersSilvan Mosberger
lib/types: add `number`
2022-09-06lib/systems: uname.processor is "uname -m", not "uname -p" (#189958)Adam Joseph
The comment in lib/systems/default.nix for uname.processor indicates that it should match `uname -p`. I tried that command and found that it reports `unknown` on all of these machines: - `x86_64-linux` - `aarch64-linux` - `mips64el-linux` - `powerpc64le-linux` The command `uname -m` reports the expected value on all of the above. I think the comment is wrong. So I fixed it.
2022-09-05lib/modules: add `definitionsWithLocations` to evaluated optionsErik Arvstedt
This attr provides the location of each definition. This is particularly useful for introspecting options of type `attrsOf`. E.g., it allows finding the location of a systemd service definition by parsing `options.systemd.services.definitionsWithLocations`.
2022-09-05Merge pull request #161118 from arkivm/init-dwarf2jsonJonas Heinrich
dwarf2json: init at unstable-2021-04-15
2022-09-01Merge branch 'master' into option-docs-mdpennae
2022-08-31lib/modules: convert option description to MDpennae
2022-08-31Merge pull request #188289 from erikarvstedt/fix-disabled-modules-abs-pathsRobert Hensing
lib.modules: support strings with absolute paths in `disabledModules`
2022-08-31lib.modules: support strings with absolute paths in `disabledModules`Erik Arvstedt
This is particularly useful for disabling modules defined in a flake. Example: disabledModules = [ "${flake}/modules/mymodule.nix" ]; Previously, absolute string paths were internally prepended with `modulesPath`, which caused the module filtering to fail.
2022-08-30lib/options: add mdDoc support to mkEnableOptionpennae
2022-08-28lib/systems/doubles: add ELFvx GNU ABIsMinijackson
2022-08-28lib/systems: add convenience isAbiElfv2 functionMinijackson
2022-08-28lib/systems/examples: use provided ABIs in PPC64 tripleMinijackson
2022-08-28lib/systems/parse: use ELFv2 by default for PPC64 BEMinijackson
2022-08-28lib/systems: add elfv1 / elfv2 ABIsMinijackson
2022-08-25lib/systems: add MicroBlaze architecturesMinijackson
2022-08-24Merge #186941: staging-next 2022-08-16Vladimír Čunát
2022-08-24Merge pull request #187884 from helsinki-systems/feat/perl-sriStig
perlPackages: Switch to SRI hashes, add `hash` support to bootstrap fetchurl, bump minimal nix version
2022-08-24Merge branch 'master' into staging-nextVladimír Čunát
2022-08-24perlPackages.Crypt{Blowfish,DES,IDEA}: Use correct licenseMichal Sojka
Recent commit 59356f11c1f ("perlPackages: Ensure all packages have a license", 2022-08-22) added a license field to Perl packages where the license was missing. The above mentioned packages got assigned `unfreeRedistributable` license, which is not precise and makes all packages depending on them unbuildable without `NIXPKGS_ALLOW_UNFREE`. The packages actually have a license which SPDX calls BSD-4-Clause-Shortened (https://spdx.org/licenses/BSD-4-Clause-Shortened.html). In this commit, we add this license to the list of allowed licenses and change the license field of the mentioned packages. Closes #188103
2022-08-24boostrap fetchurl: Add SRI supportJanne Heß
2022-08-22Merge master into staging-nextgithub-actions[bot]
2022-08-22perlPackages: Clarify all unfree licensesJanne Heß
2022-08-21Merge master into staging-nextgithub-actions[bot]
2022-08-20Fix a typo in the lib.foldr docstringSkyler
- This quote mark should be a backtick - Using a quote mark instead of a backtick breaks formatting when rendering the docs
2022-08-16lib/systems: Add staticLibrary and libraryDaniel Olsen
staticLibrary includes common extensions for static libraries library is a new common attribute that includes both shared and static extensions
2022-08-08Merge pull request #181222 from hercules-ci/module-specialArgsRobert Hensing
`_module.specialArgs` + unit test for nixos/documentation module
2022-08-04Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann