| Commit message (Collapse) | Author | Age |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This makes it work like work-on-multi from Reflex Platform. In
particular, rather than making `.env` from `shellFor`, we make `.env`
the primitive, and `shellFor` works by combining together the arguments
of all the packages to `generic-builder` and taking the `.env` of the
resulting mashup-package.
There are 2 benefits of this:
1. The dependency logic is deduplicated. generic builder just concatted
lists, whereas all the envs until now would sieve apart haskell and
system build inputs. Now, they both decide haskell vs system the same
way: according to the argument list and without reflection.
Consistency is good, especially because it mean that if the build
works, the shell is more likely to work.
2. Cross is handled better. For native builds, because the
`ghcWithPackages` calls would shadow, we through both the regular
component (lib, exe, test, bench) haskell deps and Setup.hs haskell
deps in the same `ghcWithPackages` call. But for cross builds we use
`buildPackages.ghcWithPackages` to get the setup deps. This ensures
everything works correctly.
|
|/ |
|
| |
|
| |
|
|
|
|
|
|
| |
* treewide: remove unused variables
* making ofborg happy
|
|
|
|
|
|
| |
Follow up from #60860.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
|
|
|
|
|
|
|
|
|
| |
Adds pkgsCross.wasm32 and pkgsCross.wasm64. Use it to build Nixpkgs
with a WebAssembly toolchain.
stdenv/cross: use static overlay on isWasm
isWasm doesn’t make sense dynamically linked.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
You can build (partially) with LLVM toolchain using the useLLVM flag.
This works like so:
nix-build -A hello --arg crossSystem '{ system =
"aarch64-unknown-linux-musl"; useLLVM = true }'
also don’t separate debug info in lldClang
It doesn’t work currently with that setup hook. Missing build-id?
|
| |
|
|\
| |
| | |
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.
|
|\ \
| | |
| | | |
get nix-writers into nixpkgs
|
| |/ |
|
| |
| |
| |
| |
| | |
With this OfBorg and similar tools won't report this derivation as
changed every single time.
|
| | |
|
| |
| |
| |
| | |
The good news is that it worked as expected.
|
|/ |
|
|
|
|
| |
It never worked, never was added as an attribute and the website is dead.
|
|\
| |
| |
| | |
Hydra: ?compare=1480463
|
| | |
|
|/
|
| |
This is currently failing but nobody noticed!
|
|
|
|
|
|
|
| |
The latest binutils upgrade silently broke this until it was fixed by
https://github.com/NixOS/nixpkgs/pull/43531.
So add a test.
|
| |
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
fc9644d4c9c9d29958e9bcf1676d48d4b3026bb4 accidentally enabled the
sanitizer tests for GCC on Darwin, when fixing that case was never
attempted. Also inverted the condition from broken to working for
clarity.
|
|/
|
|
|
|
|
|
| |
We already did them on non-mass-rebuild llvm 6. Also, this allows
simplifying the stdenv booting.
We were missing the libcxxabi dep in compile-rt in llvm 6, so fixed that
too.
|
| |
|
|
|
|
|
|
| |
They are not supported yet.
https://github.com/NixOS/nixpkgs/pull/41284#issuecomment-394977350
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Using 500 libraries started failing with clang++: Argument list too long
This is enough to reproduce the issue.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also add appropriate `meta.platforms = ...` to each derivation.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Probably best to override Haskell packages set, or anything else
linking a lot of libraries, with this.
|
| |
|
|\
| |
| |
| |
| | |
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
|
| |
| |
| |
| | |
nixpkgs repository.
|
|/
|
|
| |
Also use pkgconfig to be safer and fix (some) referrers.
|