summary refs log tree commit diff
path: root/lib
Commit message (Collapse)AuthorAge
* Merge master into staging-nextFrederik Rietdijk2018-12-31
|\
| * Remove composableDerivation, closes #18763Frederik Rietdijk2018-12-30
| |
* | Merge branch 'master' into stagingJan Tojnar2018-12-25
|\|
| * licenses: update SPDX IDs (#52711)Orivej Desh2018-12-24
| | | | | | | | | | | | | | | | See the bottom of https://spdx.org/licenses/ for the list of deprecations. The explicit URLs of agpl3Plus and gpl2Classpath were dropped because the default SPDX URL is correct. wxWindows ID had wrong capitalization.
| * Initial attempt to restore Android NDK cross buildingSander van der Burg2018-12-18
| |
* | Merge branch 'staging' into make-perl-pathdvolth2018-12-18
|\ \
| * | Merge remote-tracking branch 'upstream/master' into stagingJan Tojnar2018-12-16
| |\|
| | * Merge pull request #51884 from alyssais/bundlerEnv-groupsAlyssa Ross2018-12-12
| | |\ | | | | | | | | bundlerEnv: improve handling of groups
| | | * bundlerEnv: ensure dependencies always includedAlyssa Ross2018-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suppose I have a Gemfile like this: source "https://rubygems.org" gem "actioncable" gem "websocket-driver", group: :test The gemset.nix generated by Bundix 2.4.1 will set ActionCable's groups to [ "default" ], and websocket-driver's to [ "test" ]. This means that the generated bundlerEnv wouldn't include websocket-driver unless the test group was included, even though it's required by the default group. This is arguably a bug in Bundix (websocket-driver's groups should probably be [ "default" "test" ] or just [ "default" ]), but there's no reason bundlerEnv should omit dependencies even given such an input -- it won't necessarily come from Bundix, and it would be good for bundlerEnv to do the right thing. To fix this, filterGemset is now a recursive function, that adds dependencies of gems in the group to the filtered gemset until it stabilises on the gems that match the required groups, and all of their recursive dependencies.
| | * | ikos: init at 2.1Etienne Laurin2018-12-12
| | |/
| * / platform.emulator: fix non-x86 systemsJörg Thalheim2018-12-12
| |/
* / lib.makePerlPath -> perlPackages.makePerlPathvolth2018-12-15
|/
* systems/parse.nix: support eabihfMatthew Bauer2018-12-02
| | | | | | | | | | | | eabihf is an abi that can be used with ARM architectures that support the “hard float”. It should probably only be used with ARM32 when you are absolutely sure your binaries will run on ARM systems with a FPU. Also, add an example "armhf-embedded" to match the preexisting arm-embedded system. qmk_firmware needs hard float in a few places, so add them here to get that to work. Fixes #51184
* Merge master into staging-nextFrederik Rietdijk2018-11-30
|\
| * Merge pull request #50212 from matthewbauer/host-emulatorMatthew Bauer2018-11-29
| |\ | | | | | | Add "emulator" function to systems
| | * treewide: add emulator to platformMatthew Bauer2018-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can use stdenv.hostPlatform.emulator to get an executable that runs cross-built binaries. This could be any emulator. For instance, we use QEMU to emulate Linux targets and Wine to emulate Windows targets. To work with qemu, we need to support custom targets. I’ve reworked the cross tests in pkgs/test/cross to use this functionality. Also, I’ve used talloc to cross-execute with the emulator. There appears to be a cross-execute for all waf builds. In the future, it would be nice to set this for all waf builds. Adds stdenv.hostPlatform.qemuArch attrbute to get the qemuArch for each platform.
| | * systems/examples.nix: move riscv function to let bindingMatthew Bauer2018-11-29
| | | | | | | | | | | | | | | Makes it easier to use mapAttrs with lib.systems.examples. Now every entry in it are legitimate systems.
* | | Merge master into staging-nextFrederik Rietdijk2018-11-22
|\| |
| * | Merge pull request #50532 from typetetris/add-extends-exampleRobert Hensing2018-11-21
| |\ \ | | | | | | | | lib/fixed-points.nix: add an example for extends
| | * | lib/fixed-points.nix: add an example for extendsEric Wolf2018-11-21
| | | | | | | | | | | | | | | | - helped me understand how extends works, hopefully it can help others too
| * | | systems/parse: add older x86 architecturesMatthew Bauer2018-11-21
| | | | | | | | | | | | | | | | | | | | i386, i486, i586 are added. These may have issues as many places assume i686 is the only valid 32 bit x86 architecture.
* | | | Merge staging-next into stagingFrederik Rietdijk2018-11-18
|\| | |
| * | | lib/licenses: remove bsl10Linus Heckemann2018-11-16
| | | | | | | | | | | | | | | | Licence isn't used anywhere and nonfree.
| * | | lib/licenses: mark some as unfreeLinus Heckemann2018-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AMD license agreement (currently unavailable at the given URL, but included in tarball) disallows reverse-engineering, modification, redistribution etc; BSL licenses limit commercial production use.
| * | | group the release infozimbatm2018-11-15
| |/ / | | | | | | | | | | | | this makes the codename globally accessible in the repo. The release is not only for NixOS anymore.
| * | Merge pull request #49588 from vincrusher/masterMatthew Bauer2018-11-12
| |\ \ | | | | | | | | lib/system: More Types of CPUs Added
| | * | lib/systems: Added missing semicolonsVincent Weisner2018-11-09
| | | |
| | * | lib/system: Added Embedded Platforms for the CPUsVincent Weisner2018-11-09
| | | | | | | | | | | | | | | | I added some embedded platforms for the CPUs I added to the parse.nix file. These could be used as new platforms for the added CPUs.
| | * | Update parse.nixVincent Weisner2018-11-02
| | | |
| | * | CPU FixJörg Thalheim2018-11-01
| | | | | | | | | | | | Co-Authored-By: vincrusher <vincentweisner@icloud.com>
| | * | Update parse.nixVincent Weisner2018-11-01
| | | |
* | | | Merge staging-next into stagingFrederik Rietdijk2018-11-11
|\| | |
| * | | Merge pull request #48687 from danielrutz/port-typeSilvan Mosberger2018-11-10
| |\ \ \ | | | | | | | | | | Add port type
| | * | | Add type port as an alias to u16Daniel Rutz2018-10-18
| | | | |
| * | | | cwebbin: add licenseMarkus Kowalewski2018-11-08
| | | | |
| * | | | lib: commitIdFromGitRepo: simplify a tiny bitJan Malakhovski2018-11-08
| | |_|/ | |/| |
* / | | make-derivation: use pname-version as default name if both are presentPatrick Hilhorst2018-11-06
|/ / /
* | / jasper: add licenseMarkus Kowalewski2018-11-01
| |/ |/|
* | Merge pull request #49567 from obsidiansystems/arm-auto-detectJohn Ericson2018-10-31
|\ \ | | | | | | lib.systems.platforms: Add more ARM autodetection
| * | lib.systems.platforms: Add more ARM autodetectionJohn Ericson2018-10-31
| | |
* | | systems/examples: add i686 & x86-64 embeddedMatthew Bauer2018-10-30
| | | | | | | | | | | | Fixes #28160
* | | systems/parse.nix: support weird system configsMatthew Bauer2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | There are some weird ones out there that don’t follow any pattern: - arm-none-eabi - powerpc-none-eabi - aarch64-none-elf
* | | gcc: support avrMatthew Bauer2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - respect libc’s incdir and libdir - make non-unix systems single threaded - set LIMITS_H_TEST to false for avr - misc updates to support new libc’s - use multilib with avr For threads we want to use: - posix on unix systems - win32 on windows - single on everything else For avr: - add library directories for avrlibc - to disable relro and bind - avr5 should have precedence over avr3 - otherwise gcc uses the wrong one
* | | systems: add avrlibc for avr systemsMatthew Bauer2018-10-29
| | |
* | | avr: use new compilation infrastructureMatthew Bauer2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gets rid of: avrbinutils avrgcc to replace with: pkgsCross.avr.buildPackages.binutils pkgsCross.avr.buildPackages.gcc
* | | Merge pull request #49383 from tazjin/docs/lib-docstringsGraham Christensen2018-10-29
|\ \ \ | | | | | | | | Update library function "docstrings" for nixdoc generation
| * | | lib/options: Update documentation comments for docs generationVincent Ambo2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documents functions in `lib.options` for docs generation with nixdoc. The formatting change in the `mkOption` arguments is due to the way `nixdoc` parses documentation comments on pattern arguments. It's not ideal, but it works.
| * | | lib/debug: Update documentation comments for docs generationVincent Ambo2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Documents functions in `lib.debug` for docs generation with nixdoc. Note that type signatures and clearer descriptions are still missing on some of these functions, but this is good enough for a first run.
| * | | lib/lists: Update documentation comments for doc generationVincent Ambo2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates documentation comments with extra information for nixdoc[1] compatibility. [1]: https://github.com/tazjin/nixdoc
| * | | lib/strings: Update documentation comments for doc generationVincent Ambo2018-10-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates documentation comments with extra information for nixdoc[1] compatibility. Some documentation strings have additionally been reworded for clarity. "Faux types" are added where applicable, but some functions do things that are not trivially representable in the type notation used so they were ignored for this purpose. [1]: https://github.com/tazjin/nixdoc