summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge pull request #110742 from siraben/deprecate-foldBen Siraphob2021-07-27
|\
| * treewide: fold -> foldrBen Siraphob2021-01-26
| |
* | Initial implementation of s390 cross-compileBen Siraphob2021-07-25
| |
* | Merge pull request #131310 from siraben/m86k-crossJohn Ericson2021-07-24
|\ \ | | | | | | Initial implementation of m68k cross-compile
| * | Initial implementation of m68k cross-compileBen Siraphob2021-07-24
| | |
* | | Merge pull request #128032 from Artturin/add-swap-optionsRobert Hensing2021-07-23
|\ \ \ | |/ / |/| | nixos/swap: add options option
| * | lib/types.nix: add nonEmptyStrArtturin2021-07-20
| | |
* | | Merge pull request #124353 from hercules-ci/small-enum-descriptionRobert Hensing2021-07-18
|\ \ \ | | | | | | | | lib.types.enum: Improve description for lengths 0 and 1
| * | | lib.types.enum: Improve description for lengths 0 and 1Robert Hensing2021-05-25
| | | |
* | | | lib.mkFixStrictness: DeprecateRobert Hensing2021-07-12
| | | |
* | | | Partially revert "lib/modules: Drop mkStrict and mkFixStrictness"Robert Hensing2021-07-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | mkFixStrictness was never properly deprecated and should only be removed after warning for some time. This partially reverts commit 8fb9984690c878fcd768e967190957441de05d11.
* | | | strings.nix: Fix overly monomorphic type signature commentsNiklas Hambüchen2021-07-04
| | | | | | | | | | | | These functions work on lists of anything, not just lists of strings.
* | | | Merge pull request #124875 from hercules-ci/lib-sourcesRobert Hensing2021-06-28
|\ \ \ \ | | | | | | | | | | lib.sources: docs, tests, refactoring
| * | | | lib.sources.trace: initRobert Hensing2021-05-29
| | | | |
| * | | | lib.sources.sourceFilesBySuffices: Improve docRobert Hensing2021-05-29
| | | | |
| * | | | lib/tests/sources.sh: initRobert Hensing2021-05-29
| | | | |
| * | | | lib/sources: Internal representation for cleanSourceWithRobert Hensing2021-05-29
| | | | |
* | | | | Merge master into staging-nextgithub-actions[bot]2021-06-23
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge pull request #125991 from helsinki-systems/drop/mkStrictSilvan Mosberger2021-06-23
| |\ \ \ \ | | | | | | | | | | | | lib/modules: Drop mkStrict and mkFixStrictness
| | * | | | lib/modules: Drop mkStrict and mkFixStrictnessJanne Heß2021-06-06
| | | | | | | | | | | | | | | | | | | | | | | | This was deprecated in 2014 and is not used anywhere in the tree.
* | | | | | Merge branch 'master' into staging-nextMartin Weinelt2021-06-22
|\| | | | |
| * | | | | treewide: use quotes for urlPavol Rusnak2021-06-20
| | | | | |
* | | | | | mesaPlatforms: Welcome riscv64-linux to the familyZhaofeng Li2021-06-12
|/ / / / /
* | | | | Merge pull request #125942 from musfay/rlottietomberek2021-06-07
|\ \ \ \ \ | | | | | | | | | | | | rlottie: 0.1 -> 0.2
| * | | | | rlottie: 0.1 -> 0.2Mustafa Çalışkan2021-06-06
| | | | | |
* | | | | | lib.systems.parsed: add "elf" for some NetBSD archsAlyssa Ross2021-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Autoconf, some old NetBSD targets like "i686-unknown-netbsd" are interpreted as a.out, not elf, and virtually nothing supports it. We need to specify e.g. "i686-unknown-netbsdelf" to get the right behaviour.
* | | | | | lib.systems.parse.kernels: fix typo in commentAlyssa Ross2021-06-06
| |/ / / / |/| | | |
* | | | | Merge pull request #82642 from magnetophon/faustPhysicalModelingSandro2021-06-06
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | licenses: add stkBart Brouns2020-12-02
| | | | |
* | | | | Merge pull request #124992 from primeos/android-toolsMichael Weiss2021-06-02
|\ \ \ \ \ | | | | | | | | | | | | android-tools: init at 31.0.0p1
| * | | | | android-tools: init at 31.0.0p1Michael Weiss2021-06-02
| | |/ / / | |/| | | | | | | | | | | | | | | | | | lowPrio is used to avoid collisions with the simg2img package. Licensing information is in share/licenses/android-tools/AOSP_LICENSE.
* | | | | platforms: Enable ftrace support for RISC-VZhaofeng Li2021-06-01
| | | | | | | | | | | | | | | | | | | | Support has landed in mainline for a while.
* | | | | platforms: Build flat kernel image for RISC-VZhaofeng Li2021-06-01
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Newer bootloaders for RISC-V (i.e., OpenSBI + U-Boot) support flat and compressed kernel images but not vmlinux. Therefore, let's build "Image" like what we do with aarch64. Also copy DTBs while we are at it.
* | | | Merge pull request #119967 from xoe-labs/da/add-lib-flakeAnderson Torres2021-05-24
|\ \ \ \ | | | | | | | | | | init: lib/flake
| * | | | init: lib/flakeDavid Arnold2021-04-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A subflake that can be indidividually accessed without also providing an interface to the whole of nixpkgs. Usage: inputs.nixpkgs-lib.url = "github:NixOS/nixpkgs?dir=lib"
* | | | | Merge remote-tracking branch 'origin/master' into staging-nextJonathan Ringer2021-05-22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/tools/networking/xh/default.nix
| * | | | | 21.11 is Porcupine!Jonathan Ringer2021-05-22
| | |_|/ / | |/| | |
* | | | | darwin: use "11.0" as sdk and minimum version on aarch64-darwinAndrew Childs2021-05-17
| | | | |
* | | | | lib/systems/platforms: add Apple M1Andrew Childs2021-05-17
| | | | |
* | | | | Add crossPkgs.aarch64-darwinMoritz Angermann2021-05-17
| | | | |
* | | | | lib/systems: add aarch64-darwin to mesaPlatformsMatthew Bauer2021-05-17
| | | | |
* | | | | Merge staging-next into staginggithub-actions[bot]2021-05-15
|\| | | |
| * | | | lib/systems/parse: make isCompatible description clearer and more usefulBen Siraphob2021-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stating that CPUs and the isCompatible relation forms a category (or preorder) is correct but overtly technical. We can state it more clearly for readers unfamiliar with mathematics while retaining some keywords to be useful to technical readers.
* | | | | treewide: All the linker to be chosen independentlyJohn Ericson2021-05-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will begin the process of breaking up the `useLLVM` monolith. That is good in general, but I hope will be good for NetBSD and Darwin in particular. Co-authored-by: sterni <sternenseemann@systemli.org>
* | | | | treewide: Support aarch64-android using minimal prebuilt componentss13412021-05-11
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This PR adds a new aarch64 android toolchain, which leverages the existing crossSystem infrastructure and LLVM builders to generate a working toolchain with minimal prebuilt components. The only thing that is prebuilt is the bionic libc. This is because it is practically impossible to compile bionic outside of an AOSP tree. I tried and failed, braver souls may prevail. For now I just grab the relevant binaries from https://android.googlesource.com/. I also grab the msm kernel sources from there to generate headers. I've included a minor patch to the existing kernel-headers derivation in order to expose an internal function. Everything else, from binutils up, is using stock code. Many thanks to @Ericson2314 for his help on this, and for building such a powerful system in the first place! One motivation for this is to be able to build a toolchain which will work on an aarch64 linux machine. To my knowledge, there is no existing toolchain for an aarch64-linux builder and an aarch64-android target.
* | | | nixpkgs-manual: lib.attrsets.mapAttrsToList returns a list (#122179)Erlend Pedersen2021-05-08
| | | |
* | | | Merge pull request #117888 from kvtb/patch-3Silvan Mosberger2021-05-08
|\ \ \ \ | | | | | | | | | | types.nix: fix outdated comment
| * | | | types.nix: types.ints.s32 and types.ints.u32 do workkvtb2021-03-30
| | | | |
| * | | | types.nix: fix outdated commentkvtb2021-03-28
| | | | | | | | | | | | | | | Nix's `int` is always 64-bit
* | | | | Merge pull request #114374 from oxalica/lib/platform-support-checkSilvan Mosberger2021-05-08
|\ \ \ \ \ | | | | | | | | | | | | lib.meta: introduce `availableOn` to check package availability on given platform