about summary refs log tree commit diff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2022-08-08Merge pull request #181222 from hercules-ci/module-specialArgsRobert Hensing1-0/+10
`_module.specialArgs` + unit test for nixos/documentation module
2022-08-04Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann1-3/+0
2022-08-02lib/system: resolve TODOSandro1-3/+0
2022-07-30Merge master into haskell-updatesgithub-actions[bot]1-0/+1
2022-07-29lib/systems/inspect.nix: add isAarchSandro1-0/+1
2022-07-28haskell.compiler: ghc923 -> ghc924sternenseemann1-1/+1
https://www.haskell.org/ghc/download_ghc_9_2_4.html
2022-07-27Merge pull request #182217 from GuillaumeDesforges/GuillaumeDesforges@dbx-initSandro1-0/+7
2022-07-27Merge #170736: lib/systems/platforms.nix: fix mips32 ABIVladimír Čunát1-2/+2
2022-07-25python3Packages.dbx: 0.5.0Guillaume Desforges1-0/+7
2022-07-22Merge pull request #179002 from klemensn/move-passwdEntry-typeFlorian Klink1-0/+6
move passwdEntry type
2022-07-21lib/modules: Add _module.specialArgsRobert Hensing1-0/+10
2022-07-18Merge pull request #160554 from Cloudef/android-prebuiltRick van Schijndel2-5/+6
Fix android prebuilt toolchains
2022-07-04lib/trivial: Update oldestSupportedReleaseJanne Heß1-1/+1
2022-07-03lib.systems.examples: canonicalize MIPS triplesAlyssa Ross1-14/+12
In Nixpkgs, we assume that the "config" field is a canonicalized GNU triple. I noticed that non-canonical values were being used here, because the pkgsCross.mips64el-linux-gnu triples did not contain the vendor field, but the pkgsCross.mips64el-linux-gnu.pkgsStatic did. Here, I've run all the MIPS triples in lib.systems.examples through config.sub to canonicalize them. I think this will avoid nasty surprises in future. Tested by building Nix and the bootstrap files for pkgsCross.mips64el-linux-gnu.
2022-07-02lib.licenses: add Aladdin Free Public Licensetoastal1-0/+6
2022-06-29canExecute: check for androidJari Vetoniemi1-0/+1
2022-06-29update android targets to recommended onesJari Vetoniemi1-5/+5
2022-06-27lib/options: Add hint for debugging infinite recursion in docsRobert Hensing1-0/+2
2022-06-25lib.types, nixos/users: Make passwdEntry availableKlemens Nanni1-0/+6
More nixpkgs code such as `boot.initrd.systemd.emergencyAccess` defines options that takes hashed passwords, so move the type definition from modules/ into lib/. The type definition itself stays unchanged.
2022-06-21lib/options: Add showOptionWithDefLocsRobert Hensing2-1/+8
2022-06-21Merge pull request #176146 from pennae/module-docs-markdownRobert Hensing2-1/+17
treewide: markdown option docs
2022-06-20teams/maintainers list: show instructions for validating the contentsGraham Christensen1-2/+2
2022-06-20maintainer teams: check them in lib testsGraham Christensen2-0/+54
2022-06-20maintainer lib test: extract maintainer moduleGraham Christensen2-31/+32
2022-06-20maintainers: remove longkeyidGraham Christensen1-1/+0
see https://dkg.fifthhorseman.net/blog/openpgp-key-ids-are-not-useful.html
2022-06-14lib/modules: Throw earlier when module function does not return attrsRobert Hensing3-3/+23
`m` must always be an attrset at this point. It is basically always evaluated. This will make it throw when any of the attrs is accessed, rather than just `config`. We assume that this will improve the error message in more scenarios.
2022-06-14lib.deferredModule: Make it properly singularRobert Hensing2-2/+4
2022-06-14lib.types: Add deferredModuleWithRobert Hensing2-3/+25
2022-06-14lib.types.deferredModule: Allow path-typed module referencesRobert Hensing3-4/+5
2022-06-14lib.types.deferredModule: Improve reported locationRobert Hensing2-2/+2
2022-06-14lib/test/modules.sh: Test deferredModule error location fileRobert Hensing2-2/+11
2022-06-14lib.types: Add deferredModuleRobert Hensing3-0/+65
2022-06-14lib/types, lib/modules: Remove unused extensionOffsetRobert Hensing2-13/+1
2022-06-14lib/types: Use map instead of imap1 in submoduleWithRobert Hensing1-1/+1
2022-06-14lib/types: Simplify submoduleWith shorthandOnlyDefinesConfig handlingSilvan Mosberger1-12/+3
The module system already uses the parent module's _file as a fallback, so we don't need to inject the file in a weird way
2022-06-14lib/tests: Add submodule file propagation testSilvan Mosberger2-0/+25
2022-06-12treewide: attempt at markdown option docspennae2-1/+17
2022-06-10Merge pull request #157480 from MatthewCroughan/in-pure-eval-modeRobert Hensing2-1/+8
lib: add inPureEvalMode
2022-06-10lib/modules: Fix missing prefix in extendModules when unset in both eval- ↵Robert Hensing1-1/+1
and extend-
2022-06-10Merge pull request #173621 from ncfavier/submodule-descriptionRobert Hensing1-6/+17
lib/types: allow custom `submoduleWith` descriptions
2022-06-09Merge pull request #177061 from ckiee/bitXOr-typoSilvan Mosberger1-1/+1
lib/zip-int-bits: fix typo: bitXOR -> bitXor
2022-06-09lib/zip-int-bits: fix typo: bitXOR -> bitXorckie1-1/+1
2022-06-08lib.systems.amd64-netbsd: removeAlyssa Ross1-2/+0
This has been deprecated for a long time, and it's doubtful it had any users to start with. And having an undisablable warning when enumarating platforms is not good.
2022-06-01Merge master into haskell-updatesgithub-actions[bot]1-1/+1
2022-05-31Merge master into haskell-updatesgithub-actions[bot]2-0/+20
2022-05-30Fix typo in compareLists docstringmichaelmouf1-1/+1
2022-05-30lib.sourceTypes: simplify implementationRobert Scott1-9/+3
Co-authored-by: Alexander Foremny <aforemny@posteo.de>
2022-05-30add mechanism for handling meta.sourceProvenance attributesRobert Scott2-0/+26
heavily based on patterns used by licenses infrastructure, so may appear overengineered for its initial level of use
2022-05-28haskell.compiler: ghc922 -> ghc923sternenseemann1-1/+1
https://www.haskell.org/ghc/download_ghc_9_2_3.html Since the tarball is generated by Hadrian, neither autoreconf nor ./boot is executed so ./configure and ghc.mk is missing.
2022-05-27Merge pull request #174917 from alyssais/scaleway-c1sternenseemann2-9/+0
lib.systems: drop scaleway-c1