about summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge pull request #189314 from Artturin/addemulatoravailableArtturi2022-09-13
|\
| * lib/systems: add emulatorAvailableArtturin2022-09-11
| | | | | | | | | | | | | | | | | | | | | | | | ``` 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
* | lib/options: deprecate docbook text and literalDocBookpennae2022-09-10
| | | | | | | | | | | | 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.
* | Merge pull request #181834 from ncfavier/numbersSilvan Mosberger2022-09-09
|\ \ | | | | | | lib/types: add `number`
| * | lib/types: add `number`Naïm Favier2022-07-24
| | | | | | | | | | | | For numbers that can be ints or floats.
* | | lib/systems: uname.processor is "uname -m", not "uname -p" (#189958)Adam Joseph2022-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #161118 from arkivm/init-dwarf2jsonJonas Heinrich2022-09-05
|\ \ \ | | | | | | | | dwarf2json: init at unstable-2021-04-15
| * | | license: Add Volatility Software LicenseVikram Narayanan2022-02-20
| | | |
* | | | Merge branch 'master' into option-docs-mdpennae2022-09-01
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge pull request #188289 from erikarvstedt/fix-disabled-modules-abs-pathsRobert Hensing2022-08-31
| |\ \ \ | | | | | | | | | | lib.modules: support strings with absolute paths in `disabledModules`
| | * | | lib.modules: support strings with absolute paths in `disabledModules`Erik Arvstedt2022-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | lib/systems/doubles: add ELFvx GNU ABIsMinijackson2022-08-28
| | | | |
| * | | | lib/systems: add convenience isAbiElfv2 functionMinijackson2022-08-28
| | | | |
| * | | | lib/systems/examples: use provided ABIs in PPC64 tripleMinijackson2022-08-28
| | | | |
| * | | | lib/systems/parse: use ELFv2 by default for PPC64 BEMinijackson2022-08-28
| | | | |
| * | | | lib/systems: add elfv1 / elfv2 ABIsMinijackson2022-08-28
| | | | |
* | | | | lib/modules: convert option description to MDpennae2022-08-31
| | | | |
* | | | | lib/options: add mdDoc support to mkEnableOptionpennae2022-08-30
|/ / / /
* / / / lib/systems: add MicroBlaze architecturesMinijackson2022-08-25
|/ / /
* | | Merge #186941: staging-next 2022-08-16Vladimír Čunát2022-08-24
|\ \ \
| * \ \ Merge branch 'master' into staging-nextVladimír Čunát2022-08-24
| |\ \ \
| * \ \ \ Merge master into staging-nextgithub-actions[bot]2022-08-22
| |\ \ \ \
| * \ \ \ \ Merge master into staging-nextgithub-actions[bot]2022-08-21
| |\ \ \ \ \
| * | | | | | lib/systems: Add staticLibrary and libraryDaniel Olsen2022-08-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | staticLibrary includes common extensions for static libraries library is a new common attribute that includes both shared and static extensions
* | | | | | | Merge pull request #187884 from helsinki-systems/feat/perl-sriStig2022-08-24
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | perlPackages: Switch to SRI hashes, add `hash` support to bootstrap fetchurl, bump minimal nix version
| * | | | | | boostrap fetchurl: Add SRI supportJanne Heß2022-08-24
| | |_|/ / / | |/| | | |
* / | | | | perlPackages.Crypt{Blowfish,DES,IDEA}: Use correct licenseMichal Sojka2022-08-24
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | / / / perlPackages: Clarify all unfree licensesJanne Heß2022-08-22
| |/ / / |/| | |
* | | | Fix a typo in the lib.foldr docstringSkyler2022-08-20
|/ / / | | | | | | | | | - This quote mark should be a backtick - Using a quote mark instead of a backtick breaks formatting when rendering the docs
* | | 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
| | |