Commit Graph

43 Commits

Author SHA1 Message Date
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Maximilian Bosch
9ad913dd6f
swift: fix build w/glibc-2.32 2020-09-12 23:04:49 +02:00
Vladimír Čunát
01c2ba8575
Merge branch 'staging-next' into staging 2020-08-04 21:38:08 +02:00
John Ericson
92f96f47b0 treewide: Get rid of cc.gcc
Instead, we have a new `gccForLibs`, which has the appropriate
definition for e.g. avoiding `x86_32` linking problems.
2020-08-02 17:12:05 +00:00
Michael Roitzsch
5c1b1e4326 swift: fix cflags for finding C++ headers 2020-07-29 09:43:22 +02:00
Maximilian Bosch
116f39ff82
swift: fix build w/glibc-2.31
https://hydra.nixos.org/build/123279517

Internally used `compiler-rt` had to be fixed for `glibc-2.31`,
basically the same approach as in the LLVM fix
(7137183bbe05738246be2be0e704c1be9bf19947).

As soon as a newer `compiler-rt` is used for `swift`, this patch can be
removed again.
2020-06-29 14:41:43 +02:00
John Ericson
f3f7612a40 C++ Compilers: Systematize handling of standard libraries 2020-06-22 04:24:44 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Silvan Mosberger
7d8a33125f
swift: Fix build for glibc 2.30 2020-02-21 10:10:07 +01:00
Michael Roitzsch
b82d443836 swift: fix UUID module and enable tests
* fix UUID compilation error
  This was pointed out by Swift’s test suite.
* enable tests after build
  Two broken tests disabled for now.
2020-01-15 13:23:50 +01:00
Michael Roitzsch
b472f4a2de swift: 5.0.2 -> 5.1.1 2020-01-15 13:23:49 +01:00
Michael Roitzsch
29098a81b3 swift: refactor phases and patch documentation
* simplify versioning
* uniform patch documentation
* reorder phases so they read in order
* reorder scripts for readability
* GNU toolchain dir:
  handle sysroot for GNU toolchain like for C headers, so that
  GCC_INSTALL_PREFIX is actually used correctly
2020-01-15 13:19:35 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Michael Roitzsch
4f28fb61ff
swift: 5.0.1 -> 5.0.2
update Swift and remove superfluous substitution
2019-07-19 21:45:53 +02:00
volth
f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Will Dietz
8cba1c7727 swift: install "editor-integration" component as well 2019-05-06 12:48:41 +02:00
Will Dietz
80d58e2bf5 swift: move most inputs to nativeBuildInputs 2019-05-06 12:47:58 +02:00
Michael Roitzsch
4ba3923490 swift: enable tests (WIP)
add check phase for running some of the Swift test suite

A small number of tests is failing, which needs investigation,
so the check phase remains disabled by default.
2019-05-02 12:03:46 +02:00
Michael Roitzsch
daca04587c swift: 4.2.3 -> 5.0.1
update Swift
* new tweaks to the build process are mostly documented inline
* the swiftc wrapper needs the linker path for libicu
* some older tweaks could be removed
* remove fuzz from patches by updating line numbers
* one build fix to libdispatch has been filed upstream
2019-04-30 16:26:08 +02:00
Michael Roitzsch
6a4d2eea8a swift: 4.2.2 -> 4.2.3 2019-03-07 15:22:45 +01:00
Will Dietz
4a3f06a652 swift: 4.2.1 -> 4.2.2 2019-02-04 13:23:30 -06:00
Jörg Thalheim
1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Michael Roitzsch
4e89814fc6 swift: 4.1.3 -> 4.2.1
* necessary tweaks and patches to get swift 4.2.1 to build
* disabled more tests because they would require additional patching
* delete empty directories from final build output
* some minor cleanup
2018-11-01 17:53:04 +01:00
Uli Baum
e7a82cac35 swift: broken on aarch64
never built according to available hydra logs
2018-09-04 01:13:55 +02:00
Will Dietz
e4f4debcb9 swift: 4.1 -> 4.1.3 (#45777) 2018-09-04 01:08:39 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Will Dietz
25b81a053e swift: loosen platforms to all linux other than known-bad i686 2018-03-31 00:19:46 -05:00
Will Dietz
26f537ffab swift: 4.0.3 -> 4.1 2018-03-30 23:37:04 -05:00
Will Dietz
4a9c3633dd swift: fix broken ar symlink 2018-02-26 21:01:29 -06:00
Will Dietz
88850c19ab swift: add include for <functional> (#35689) 2018-02-26 20:06:14 -06:00
taku0
c275c3dc30 swift: 3.1.1 -> 4.0.3 2018-02-12 22:03:40 +09:00
taku0
e2783b299c swift: fix build 2018-02-12 22:03:40 +09:00
John Ericson
4d4f94cde4 treewide: Depend on targetPackages.stdenv.cc.bintools instead of binutils directly
One should do this when needed executables at run time. It is more
honest and cross-friendly than refering to binutils directly, if one
neeeds the default binary tools for the target platform, rather than
binutils in particular.
2017-11-05 17:10:53 -05:00
Robin Gloster
40ed226507 treewide: mark a bunch of failing builds as broken
(cherry picked from commit 23fdbaa37599f490435056b9865023870656571b)
[dezgeg: Un-mark shotcut, tokei & uchiwa that do build on master]
2017-10-01 00:26:52 +03:00
William Casarin
cd4eba7c0e swift: remove me as maintainer
I don't use this anymore
2017-09-24 12:10:20 -07:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
John Ericson
e57a220f81 stdenv, swift: Use local fd in is* bash functions for hygiene 2017-07-07 11:40:07 -04:00
Vladimír Čunát
65ede052fa
treewide: fixup packages with RPATH problems 2017-05-16 18:30:58 +02:00
Will Dietz
cb026b1b65 swift: Fix sha256, I think upstream moved the release tag?
If this happens again we can target the particular commit
but hopefully it's a one-time thing.
2017-05-01 13:52:46 -05:00
Will Dietz
9273286353 swift: 3.1 -> 3.1.1 2017-04-21 07:28:56 -05:00
Will Dietz
bccc5ae82c swift: remove i686-linux from platforms, limit to x86-64-linux
Don't know that other platforms will fail but it seems likely
since we're using build profile intended for 64bit Ubuntu.
2017-03-29 07:42:16 -05:00
Will Dietz
ecae31a50c swift: init at 3.1
Add dependency 'libblocksruntime'.
2017-03-28 15:34:34 -05:00