summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2022-08-02lib/system: resolve TODOSandro
2022-07-30Merge master into haskell-updatesgithub-actions[bot]
2022-07-29lib/systems/inspect.nix: add isAarchSandro
2022-07-28haskell.compiler: ghc923 -> ghc924sternenseemann
https://www.haskell.org/ghc/download_ghc_9_2_4.html
2022-07-27Merge pull request #182217 from GuillaumeDesforges/GuillaumeDesforges@dbx-initSandro
2022-07-27Merge #170736: lib/systems/platforms.nix: fix mips32 ABIVladimír Čunát
2022-07-25python3Packages.dbx: 0.5.0Guillaume Desforges
2022-07-24lib/types: add `number`Naïm Favier
For numbers that can be ints or floats.
2022-07-22Merge pull request #179002 from klemensn/move-passwdEntry-typeFlorian Klink
move passwdEntry type
2022-07-21lib/modules: Add _module.specialArgsRobert Hensing
2022-07-18Merge pull request #160554 from Cloudef/android-prebuiltRick van Schijndel
Fix android prebuilt toolchains
2022-07-04lib/trivial: Update oldestSupportedReleaseJanne Heß
2022-07-03lib.systems.examples: canonicalize MIPS triplesAlyssa Ross
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 Licensetoastal
2022-06-29canExecute: check for androidJari Vetoniemi
2022-06-29update android targets to recommended onesJari Vetoniemi
2022-06-27lib/options: Add hint for debugging infinite recursion in docsRobert Hensing
2022-06-25lib.types, nixos/users: Make passwdEntry availableKlemens Nanni
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 Hensing
2022-06-21Merge pull request #176146 from pennae/module-docs-markdownRobert Hensing
treewide: markdown option docs
2022-06-20teams/maintainers list: show instructions for validating the contentsGraham Christensen
2022-06-20maintainer teams: check them in lib testsGraham Christensen
2022-06-20maintainer lib test: extract maintainer moduleGraham Christensen
2022-06-20maintainers: remove longkeyidGraham Christensen
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 Hensing
`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 Hensing
2022-06-14lib.types: Add deferredModuleWithRobert Hensing
2022-06-14lib.types.deferredModule: Allow path-typed module referencesRobert Hensing
2022-06-14lib.types.deferredModule: Improve reported locationRobert Hensing
2022-06-14lib/test/modules.sh: Test deferredModule error location fileRobert Hensing
2022-06-14lib.types: Add deferredModuleRobert Hensing
2022-06-14lib/types, lib/modules: Remove unused extensionOffsetRobert Hensing
2022-06-14lib/types: Use map instead of imap1 in submoduleWithRobert Hensing
2022-06-14lib/types: Simplify submoduleWith shorthandOnlyDefinesConfig handlingSilvan Mosberger
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 Mosberger
2022-06-12treewide: attempt at markdown option docspennae
2022-06-10Merge pull request #157480 from MatthewCroughan/in-pure-eval-modeRobert Hensing
lib: add inPureEvalMode
2022-06-10lib/modules: Fix missing prefix in extendModules when unset in both eval- ↵Robert Hensing
and extend-
2022-06-10Merge pull request #173621 from ncfavier/submodule-descriptionRobert Hensing
lib/types: allow custom `submoduleWith` descriptions
2022-06-09Merge pull request #177061 from ckiee/bitXOr-typoSilvan Mosberger
lib/zip-int-bits: fix typo: bitXOR -> bitXor
2022-06-09lib/zip-int-bits: fix typo: bitXOR -> bitXorckie
2022-06-08lib.systems.amd64-netbsd: removeAlyssa Ross
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]
2022-05-31Merge master into haskell-updatesgithub-actions[bot]
2022-05-30Fix typo in compareLists docstringmichaelmouf
2022-05-30lib.sourceTypes: simplify implementationRobert Scott
Co-authored-by: Alexander Foremny <aforemny@posteo.de>
2022-05-30add mechanism for handling meta.sourceProvenance attributesRobert Scott
heavily based on patterns used by licenses infrastructure, so may appear overengineered for its initial level of use
2022-05-28haskell.compiler: ghc922 -> ghc923sternenseemann
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-c1sternenseemann
lib.systems: drop scaleway-c1
2022-05-27lib.systems: drop scaleway-c1Alyssa Ross
These servers apparently no longer exist, since September 2, 2021[1]. If somebody needs this for non-Scaleway machines, they should suggest its reintroduction with a different name. [1]: https://news.ycombinator.com/item?id=27192757