Commit graph

4 commits

Author SHA1 Message Date
Matthew Bauer 9abff4af4f wasm: init cross target
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.
2019-04-23 21:48:57 -04:00
Matthew Bauer 3463e6ad17 static: remove libjpeg static override
it is not necessary
2019-04-10 01:46:00 -04:00
Vaibhav Sagar cb5a7bdc3a lz4: fix pkgsStatic build 2018-12-13 18:00:26 -05:00
Matthew Bauer 3c36dccd7c top-level/stage.nix: add static overlay
Adds the static overlay that can be used to build Nixpkgs statically.
Can be used like:

  nix build pkgsStatic.hello

Not all packages build, as some rely on dynamic linking.

(cherry picked from commit 6d90a8b894)
2018-12-13 14:04:34 -05:00