summaryrefslogtreecommitdiff
path: root/lib (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #181222 from hercules-ci/module-specialArgs•••`_module.specialArgs` + unit test for nixos/documentation moduleRobert Hensing2022-08-081-0/+10
|\
| * lib/modules: Add _module.specialArgsRobert Hensing2022-07-211-0/+10
* | Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann2022-08-041-3/+0
|\ \
| * | lib/system: resolve TODOSandro2022-08-021-3/+0
* | | Merge master into haskell-updatesgithub-actions[bot]2022-07-301-0/+1
|\| |
| * | lib/systems/inspect.nix: add isAarchSandro2022-07-291-0/+1
* | | haskell.compiler: ghc923 -> ghc924•••https://www.haskell.org/ghc/download_ghc_9_2_4.html sternenseemann2022-07-281-1/+1
|/ /
* | Merge pull request #182217 from GuillaumeDesforges/GuillaumeDesforges@dbx-initSandro2022-07-271-0/+7
|\ \
| * | python3Packages.dbx: 0.5.0Guillaume Desforges2022-07-251-0/+7
* | | Merge #170736: lib/systems/platforms.nix: fix mips32 ABIVladimír Čunát2022-07-271-2/+2
|\ \ \
| * | | lib/systems/platforms.nix: use "32" instead of "o32" for mips32 ABI•••There is only one ABI for 32-bit MIPS chips. Before mips64, it didn't really have a name. The 64-bit MIPS ABI comes in two flavors, "n64" and "n32". It is commonplace to refer to the old 32-bit ABI as "o32" (MIPS and SGI documents do this). However, when configuring gcc, one must use --with-abi=32, not --with-abi=o32. Let's keep GCC happy with this commit. Adam Joseph2022-04-271-2/+2
* | | | Merge pull request #179002 from klemensn/move-passwdEntry-type•••move passwdEntry typeFlorian Klink2022-07-221-0/+6
|\ \ \ \ | |_|/ / |/| | |
| * | | lib.types, nixos/users: Make passwdEntry available•••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. Klemens Nanni2022-06-251-0/+6
* | | | Merge pull request #160554 from Cloudef/android-prebuilt•••Fix android prebuilt toolchainsRick van Schijndel2022-07-182-5/+6
|\ \ \ \ | |_|_|/ |/| | |
| * | | canExecute: check for androidJari Vetoniemi2022-06-291-0/+1
| * | | update android targets to recommended onesJari Vetoniemi2022-06-291-5/+5
* | | | lib/trivial: Update oldestSupportedReleaseJanne Heß2022-07-041-1/+1
* | | | lib.systems.examples: canonicalize MIPS triples•••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. Alyssa Ross2022-07-031-14/+12
* | | | lib.licenses: add Aladdin Free Public Licensetoastal2022-07-021-0/+6
|/ / /
* / / lib/options: Add hint for debugging infinite recursion in docsRobert Hensing2022-06-271-0/+2
|/ /
* | lib/options: Add showOptionWithDefLocsRobert Hensing2022-06-212-1/+8
* | Merge pull request #176146 from pennae/module-docs-markdown•••treewide: markdown option docsRobert Hensing2022-06-212-1/+17
|\ \
| * | treewide: attempt at markdown option docspennae2022-06-122-1/+17
* | | teams/maintainers list: show instructions for validating the contentsGraham Christensen2022-06-201-2/+2
* | | maintainer teams: check them in lib testsGraham Christensen2022-06-202-0/+54
* | | maintainer lib test: extract maintainer moduleGraham Christensen2022-06-202-31/+32
* | | maintainers: remove longkeyid•••see https://dkg.fifthhorseman.net/blog/openpgp-key-ids-are-not-useful.html Graham Christensen2022-06-201-1/+0
* | | lib/modules: Throw earlier when module function does not return attrs•••`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. Robert Hensing2022-06-143-3/+23
* | | lib.deferredModule: Make it properly singularRobert Hensing2022-06-142-2/+4
* | | lib.types: Add deferredModuleWithRobert Hensing2022-06-142-3/+25
* | | lib.types.deferredModule: Allow path-typed module referencesRobert Hensing2022-06-143-4/+5
* | | lib.types.deferredModule: Improve reported locationRobert Hensing2022-06-142-2/+2
* | | lib/test/modules.sh: Test deferredModule error location fileRobert Hensing2022-06-142-2/+11
* | | lib.types: Add deferredModuleRobert Hensing2022-06-143-0/+65
* | | lib/types, lib/modules: Remove unused extensionOffsetRobert Hensing2022-06-142-13/+1
* | | lib/types: Use map instead of imap1 in submoduleWithRobert Hensing2022-06-141-1/+1
* | | lib/types: Simplify submoduleWith shorthandOnlyDefinesConfig handling•••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 Silvan Mosberger2022-06-141-12/+3
* | | lib/tests: Add submodule file propagation testSilvan Mosberger2022-06-142-0/+25
|/ /
* | Merge pull request #157480 from MatthewCroughan/in-pure-eval-mode•••lib: add inPureEvalModeRobert Hensing2022-06-102-1/+8
|\ \
| * | lib: add inPureEvalMode•••This makes a value that is true if builtins does not contain the currentSystem function, but false if it does. matthewcroughan2022-05-062-1/+8
* | | lib/modules: Fix missing prefix in extendModules when unset in both eval- and...Robert Hensing2022-06-101-1/+1
* | | Merge pull request #173621 from ncfavier/submodule-description•••lib/types: allow custom `submoduleWith` descriptionsRobert Hensing2022-06-101-6/+17
|\ \ \
| * | | lib/types: allow custom `submoduleWith` descriptions•••Currently the only way to set the description for a submodule type is to use `freeformType`. This is not ideal as it requires setting a freeform type, and evaluates the submodule config unnecessarily. Instead, add a `description` argument to `submoduleWith`. Naïm Favier2022-05-191-6/+17
* | | | Merge pull request #177061 from ckiee/bitXOr-typo•••lib/zip-int-bits: fix typo: bitXOR -> bitXorSilvan Mosberger2022-06-091-1/+1
|\ \ \ \
| * | | | lib/zip-int-bits: fix typo: bitXOR -> bitXorckie2022-06-091-1/+1
* | | | | lib.systems.amd64-netbsd: remove•••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. Alyssa Ross2022-06-081-2/+0
* | | | | Merge master into haskell-updatesgithub-actions[bot]2022-06-011-1/+1
|\ \ \ \ \
| * | | | | Fix typo in compareLists docstringmichaelmouf2022-05-301-1/+1
* | | | | | Merge master into haskell-updatesgithub-actions[bot]2022-05-312-0/+20
|\| | | | |
| * | | | | lib.sourceTypes: simplify implementation•••Co-authored-by: Alexander Foremny <aforemny@posteo.de> Robert Scott2022-05-301-9/+3