| Commit message (Collapse) | Author | Age |
... | |
| |\| | | |
|
| | |\ \ \
| | | | | |
| | | | | | |
bundlerEnv: improve handling of groups
|
| | | | |/
| | | |/|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |/ / |
|
| |/ / |
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| |\ \
| | | |
| | | | |
Add "emulator" function to systems
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Makes it easier to use mapAttrs with lib.systems.examples. Now every
entry in it are legitimate systems.
|
|\| | | |
|
| |\ \ \
| | | | |
| | | | | |
lib/fixed-points.nix: add an example for extends
|
| | | | |
| | | | |
| | | | |
| | | | | |
- helped me understand how extends works, hopefully it can help others too
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
i386, i486, i586 are added. These may have issues as many places
assume i686 is the only valid 32 bit x86 architecture.
|
|\| | | |
|
| | | |
| | | |
| | | |
| | | | |
Licence isn't used anywhere and nonfree.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| |/ /
| | |
| | |
| | |
| | | |
this makes the codename globally accessible in the repo. The release is
not only for NixOS anymore.
|
| |\ \
| | | |
| | | | |
lib/system: More Types of CPUs Added
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | | |
|
| | | |
| | | |
| | | | |
Co-Authored-By: vincrusher <vincentweisner@icloud.com>
|
| | | | |
|
|\| | | |
|
| |\ \ \
| | | | |
| | | | | |
Add port type
|
| | | | | |
|
| | | | | |
|
| | |_|/
| |/| | |
|
|/ / / |
|
| |/
|/| |
|
|\ \
| | |
| | | |
lib.systems.platforms: Add more ARM autodetection
|
| | | |
|
| | |
| | |
| | |
| | | |
Fixes #28160
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
There are some weird ones out there that don’t follow any pattern:
- arm-none-eabi
- powerpc-none-eabi
- aarch64-none-elf
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Gets rid of:
avrbinutils
avrgcc
to replace with:
pkgsCross.avr.buildPackages.binutils
pkgsCross.avr.buildPackages.gcc
|
|\ \ \
| | | |
| | | | |
Update library function "docstrings" for nixdoc generation
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updates documentation comments with extra information for nixdoc[1]
compatibility.
[1]: https://github.com/tazjin/nixdoc
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Expands on some of the function comments and add some of the
special syntaxes recognised by nixdoc.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Since `isStorePath` relies on comparing against builtins.storeDir
(a string), we need to convert the input into a string as well.
|
|\ \ \ \
| |_|_|/
|/| | | |
Add licenses
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | | |
Set CMAKE_SYSTEM_* for cross compiling
|