summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge pull request #181222 from hercules-ci/module-specialArgsRobert Hensing2022-08-08
|\ | | | | `_module.specialArgs` + unit test for nixos/documentation module
| * lib/modules: Add _module.specialArgsRobert Hensing2022-07-21
| |
* | Merge remote-tracking branch 'origin/master' into haskell-updatessternenseemann2022-08-04
|\ \
| * | lib/system: resolve TODOSandro2022-08-02
| | |
* | | Merge master into haskell-updatesgithub-actions[bot]2022-07-30
|\| |
| * | lib/systems/inspect.nix: add isAarchSandro2022-07-29
| | |
* | | haskell.compiler: ghc923 -> ghc924sternenseemann2022-07-28
|/ / | | | | | | https://www.haskell.org/ghc/download_ghc_9_2_4.html
* | Merge pull request #182217 from GuillaumeDesforges/GuillaumeDesforges@dbx-initSandro2022-07-27
|\ \
| * | python3Packages.dbx: 0.5.0Guillaume Desforges2022-07-25
| | |
* | | Merge #170736: lib/systems/platforms.nix: fix mips32 ABIVladimír Čunát2022-07-27
|\ \ \
| * | | lib/systems/platforms.nix: use "32" instead of "o32" for mips32 ABIAdam Joseph2022-04-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #179002 from klemensn/move-passwdEntry-typeFlorian Klink2022-07-22
|\ \ \ \ | |_|/ / |/| | | move passwdEntry type
| * | | lib.types, nixos/users: Make passwdEntry availableKlemens Nanni2022-06-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Merge pull request #160554 from Cloudef/android-prebuiltRick van Schijndel2022-07-18
|\ \ \ \ | |_|_|/ |/| | | Fix android prebuilt toolchains
| * | | canExecute: check for androidJari Vetoniemi2022-06-29
| | | |
| * | | update android targets to recommended onesJari Vetoniemi2022-06-29
| | | |
* | | | lib/trivial: Update oldestSupportedReleaseJanne Heß2022-07-04
| | | |
* | | | lib.systems.examples: canonicalize MIPS triplesAlyssa Ross2022-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | lib.licenses: add Aladdin Free Public Licensetoastal2022-07-02
|/ / /
* / / lib/options: Add hint for debugging infinite recursion in docsRobert Hensing2022-06-27
|/ /
* | lib/options: Add showOptionWithDefLocsRobert Hensing2022-06-21
| |
* | Merge pull request #176146 from pennae/module-docs-markdownRobert Hensing2022-06-21
|\ \ | | | | | | treewide: markdown option docs
| * | treewide: attempt at markdown option docspennae2022-06-12
| | |
* | | teams/maintainers list: show instructions for validating the contentsGraham Christensen2022-06-20
| | |
* | | maintainer teams: check them in lib testsGraham Christensen2022-06-20
| | |
* | | maintainer lib test: extract maintainer moduleGraham Christensen2022-06-20
| | |
* | | maintainers: remove longkeyidGraham Christensen2022-06-20
| | | | | | | | | | | | see https://dkg.fifthhorseman.net/blog/openpgp-key-ids-are-not-useful.html
* | | lib/modules: Throw earlier when module function does not return attrsRobert Hensing2022-06-14
| | | | | | | | | | | | | | | | | | | | | `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.
* | | lib.deferredModule: Make it properly singularRobert Hensing2022-06-14
| | |
* | | lib.types: Add deferredModuleWithRobert Hensing2022-06-14
| | |
* | | lib.types.deferredModule: Allow path-typed module referencesRobert Hensing2022-06-14
| | |
* | | lib.types.deferredModule: Improve reported locationRobert Hensing2022-06-14
| | |
* | | lib/test/modules.sh: Test deferredModule error location fileRobert Hensing2022-06-14
| | |
* | | lib.types: Add deferredModuleRobert Hensing2022-06-14
| | |
* | | lib/types, lib/modules: Remove unused extensionOffsetRobert Hensing2022-06-14
| | |
* | | lib/types: Use map instead of imap1 in submoduleWithRobert Hensing2022-06-14
| | |
* | | lib/types: Simplify submoduleWith shorthandOnlyDefinesConfig handlingSilvan Mosberger2022-06-14
| | | | | | | | | | | | | | | 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
* | | lib/tests: Add submodule file propagation testSilvan Mosberger2022-06-14
|/ /
* | Merge pull request #157480 from MatthewCroughan/in-pure-eval-modeRobert Hensing2022-06-10
|\ \ | | | | | | lib: add inPureEvalMode
| * | lib: add inPureEvalModematthewcroughan2022-05-06
| | | | | | | | | | | | | | | This makes a value that is true if builtins does not contain the currentSystem function, but false if it does.
* | | lib/modules: Fix missing prefix in extendModules when unset in both eval- ↵Robert Hensing2022-06-10
| | | | | | | | | | | | and extend-
* | | Merge pull request #173621 from ncfavier/submodule-descriptionRobert Hensing2022-06-10
|\ \ \ | | | | | | | | lib/types: allow custom `submoduleWith` descriptions
| * | | lib/types: allow custom `submoduleWith` descriptionsNaïm Favier2022-05-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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`.
* | | | Merge pull request #177061 from ckiee/bitXOr-typoSilvan Mosberger2022-06-09
|\ \ \ \ | | | | | | | | | | lib/zip-int-bits: fix typo: bitXOR -> bitXor
| * | | | lib/zip-int-bits: fix typo: bitXOR -> bitXorckie2022-06-09
| | | | |
* | | | | lib.systems.amd64-netbsd: removeAlyssa Ross2022-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | Merge master into haskell-updatesgithub-actions[bot]2022-06-01
|\ \ \ \ \
| * | | | | Fix typo in compareLists docstringmichaelmouf2022-05-30
| | | | | |
* | | | | | Merge master into haskell-updatesgithub-actions[bot]2022-05-31
|\| | | | |
| * | | | | lib.sourceTypes: simplify implementationRobert Scott2022-05-30
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Alexander Foremny <aforemny@posteo.de>