Moritz Angermann
3a3df3146e
Add crossPkgs.aarch64-darwin
2021-05-17 00:27:02 +09:00
Moritz Angermann and Matthew Bauer
60c5cf9cea
Update pkgs/build-support/cc-wrapper/cc-wrapper.sh
...
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com >
2021-02-26 10:07:27 +08:00
Moritz Angermann
11b4d6c633
responsie file logic
2021-02-09 09:46:47 +08:00
Moritz Angermann
f2a33e4486
Update configure-flags.nix
2020-06-08 12:43:58 +08:00
Moritz Angermann
58ffaee5d7
Update configure-flags.nix
2020-06-08 12:40:38 +08:00
Moritz Angermann
0e7977015e
[gmp] Fix shared windows cross compilation
2019-10-17 22:52:59 +08:00
Moritz Angermann
2df354fd1e
fix openssl
2019-10-17 21:54:16 +08:00
Moritz Angermann
8b393304b1
[win32] fix openssl
2019-10-17 21:54:15 +08:00
Moritz Angermann
446f8c851d
Add support for js-unknown-ghcjs
...
This adds enough logic to nixpkgs to support the `js-unknown-ghcjs` triple.
2019-09-02 01:27:05 -04:00
Moritz Angermann
e1d180725b
Update generic-builder.nix
...
Drop `hasActiveLibrary` altogether. The condition is wrong, `isLibrary` is the correct one. We can have non-static, non-shared libraries as well.
2018-08-07 09:25:35 +02:00
Moritz Angermann
e4a61c8b6e
[haskell/generic-builder] windows always has an active library
...
This commit is not really correct. The `hasActiveLibrary` check is wrong.
We can have an active library even if we do not ask for a static lirbary or
dynamic one; we can still have just a set of objet files and archives.
2018-08-07 09:25:35 +02:00
Moritz Angermann
acaa6c92fb
coreutils: unix-only
...
Windows is not supported & we currently define "all" to be "unix" + "windows".
2018-08-01 21:18:41 -04:00
Moritz Angermann
c034dea090
Update 8.4.3.nix
2018-07-18 12:04:39 +08:00
Moritz Angermann
3f762923aa
[ghc] Backport gmp stuff
2018-07-18 10:21:38 +08:00
Moritz Angermann
b84ac074fc
[ghc] proper handling of integer libraries
2018-07-18 10:13:28 +08:00
Moritz Angermann
ad8c10e246
[ghc] assert gmp
2018-07-18 10:13:27 +08:00
Moritz Angermann
fe1eec9e24
ghc 8.4.2, head: Drop libiconv on windows.
...
nixpkgs#37012 and nixpkgs#37707 introduces the setup-hooks for libiconv, which inject `-liconv` into the `NIX_LDFLAGS`. This breaks horribly on windows where the linker end up having no idea how to linke `-liconv`. The configure.ac file specifically ignores libiconv on windows.
2018-05-23 10:41:17 -04:00
Moritz Angermann
10b76a4cab
ghc: paxmark all unwraped executables across the board
...
Shell glob works even as the exact set of executable (filenames) varries
beween configuations. Need to skip non ELFs (e.g. shell scripts),
however.
2018-05-23 10:41:15 -04:00
Moritz Angermann
63e5b3ce71
used stdenv.targetPlatform.isDarwin and not stdenv.isDarwin.
2018-05-23 10:27:42 -04:00
Moritz Angermann
87afa66a63
haskell infra: Adds buildFlags logic
2018-05-23 10:27:42 -04:00
Moritz Angermann
affeb0cb80
haskell generic builder: Do the links dance only if shared is enabled.
2018-05-23 10:27:41 -04:00
Moritz Angermann
a4d5dbd45d
haskell generic builder: Disable static libs on Windows because no -staticlib
...
The reason why this does not work is not that we can't built static
objects, we can, but we can't use `-staticlib` on GHC on windows.
`-staticlib` rolls all dependencies into a combined archive. While this
would work on windows if we used gnu ar and MRI script, GHC can't rely
on GNU ar, and as such has a quick archive concatenation module for GNU
and BSD archives only.
2018-05-23 10:27:41 -04:00
Moritz Angermann
38fbdcc726
haskell generic builder: Use setup package database for setup-depends
...
Adapted from https://github.com/obsidiansystems/nixpkgs/commit/b69f420121120433220c568e4b35ade539ef60f2 by @Ericson2314
2018-05-23 10:27:41 -04:00
Moritz Angermann
4b2eceaa35
ghc: fix dylib load command limits in compiler version 8.x
...
See https://phabricator.haskell.org/D4714 for the full details.
This will be part of ghc 8.6.
Closes https://github.com/NixOS/nixpkgs/pull/40877 .
2018-05-22 10:32:17 +02:00
Moritz Angermann
4b48094285
ghc 8.4.2, head: Drop libiconv on windows.
...
nixpkgs#37012 and nixpkgs#37707 introduces the setup-hooks for libiconv, which inject `-liconv` into the `NIX_LDFLAGS`. This breaks horribly on windows where the linker end up having no idea how to linke `-liconv`. The configure.ac file specifically ignores libiconv on windows.
2018-05-21 15:11:12 -04:00
Moritz Angermann
6af0c192d1
ghc: paxmark all unwraped executables across the board
...
Shell glob works even as the exact set of executable (filenames) varries
beween configuations.
2018-05-21 15:11:12 -04:00
Moritz Angermann
f914fdd960
used stdenv.targetPlatform.isDarwin and not stdenv.isDarwin.
2018-05-21 15:11:11 -04:00
Moritz Angermann
82a847a04b
haskell infra: Adds buildFlags logic
2018-05-21 15:11:11 -04:00
Moritz Angermann
5e589a4049
haskell generic builder: Do the links dance only if shared is enabled.
2018-05-21 15:11:11 -04:00
Moritz Angermann
4ea33def46
haskell generic builder: Disable static libs on Windows because no -staticlib
...
The reason why this does not work is not that we can't built static
objects, we can, but we can't use `-staticlib` on GHC on windows.
`-staticlib` rolls all dependencies into a combined archive. While this
would work on windows if we used gnu ar and MRI script, GHC can't rely
on GNU ar, and as such has a quick archive concatenation module for GNU
and BSD archives only.
2018-05-21 15:11:11 -04:00
Moritz Angermann
15759df660
haskell generic builder: Use setup package database for setup-depends
...
Adapted from https://github.com/obsidiansystems/nixpkgs/commit/b69f420121120433220c568e4b35ade539ef60f2 by @Ericson2314
2018-05-21 15:11:10 -04:00
Moritz Angermann
0828bc5b1f
wine: Enable on macOS
2018-05-18 17:15:42 -04:00
Moritz Angermann
8ea265279e
Allow YAML on other platforms as well.
2018-05-17 15:22:31 +08:00
Moritz Angermann
918edbe485
haskell-generic-builder: Add enableHsc2hsViaAsm for Windows cross compilation
2018-03-20 15:27:02 -04:00
Moritz Angermann
1d3db8139e
mingw-w64: 4.0.6 -> 5.0.3
...
This came up with GHC, as GHC requires `_(un)lock_file`, which are only present in mingw-w64 >= 5.
2018-03-20 13:09:53 -04:00