1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 00:22:13 +00:00
Commit graph

50 commits

Author SHA1 Message Date
Felix Buehler 3c12e95ad1 development: /s/name/pname&version/ 2021-06-30 09:45:11 +02:00
Ben Siraphob 66e44425c6 pkgs/development/libraries: stdenv.lib -> lib 2021-01-21 19:11:02 -08:00
Matthew Bauer d0677e6d45 treewide: add warning comment to “boot” packages
This adds a warning to the top of each “boot” package that reads:

  Note: this package is used for bootstrapping fetchurl, and thus cannot
  use fetchpatch! All mutable patches (generated by GitHub or cgit) that
  are needed here should be included directly in Nixpkgs as files.

This makes it clear to maintainer that they may need to treat this
package a little differently than others. Importantly, we can’t use
fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale
hashes, we need to include patches that are subject to changing
overtime (for instance, gitweb’s patches contain a version number at
the bottom).
2020-07-31 08:56:53 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jörg Thalheim 55d24ae823
libffi: fix musl tests
Tests do not compile on musl, also alpine seems not to run tests.
2020-03-19 15:29:08 +00:00
Luka Blaskovic be3e7b4f44 libffi: only run tests on musl targets
Python3 is now needed for for glibc build which pulls libffi,
so I suppose libffi is now part of stdenv on linux with glibc
as on darwin.
2020-01-14 09:05:59 +00:00
Matthew Bauer 7c1539baa6 libffi: update meta
- add myself as maintainer
- license is mit
2019-12-02 16:23:49 -05:00
Matthew Bauer 53a04a2df0 libffi: 3.2.1 -> 3.3 2019-12-02 16:21:09 -05:00
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00
Benjamin Hipple 08c75aaedc libffi: swap src URL from FTP to HTTPS
HTTPS is never worse and often better than FTP, since it's faster, more secure,
and more likely to be accessible through firewalls.

This does not change the tarball sha, as confirmed by `nix-prefetch-url`.
2018-12-03 22:10:29 +00:00
John Ericson 0828e2d8c3 treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
2018-08-30 17:20:32 -04:00
Frederik Rietdijk 099c13da1b Merge staging-next into master (#44009)
* substitute(): --subst-var was silently coercing to "" if the variable does not exist.

* libffi: simplify using `checkInputs`

* pythonPackges.hypothesis, pythonPackages.pytest: simpify dependency cycle fix

* utillinux: 2.32 -> 2.32.1

https://lkml.org/lkml/2018/7/16/532

* busybox: 1.29.0 -> 1.29.1

* bind: 9.12.1-P2 -> 9.12.2

https://ftp.isc.org/isc/bind9/9.12.2/RELEASE-NOTES-bind-9.12.2.html

* curl: 7.60.0 -> 7.61.0

* gvfs: make tests run, but disable

* ilmbase: disable tests on i686. Spooky!

* mdds: fix tests

* git: disable checks as tests are run in installcheck

* ruby: disable tests

* libcommuni: disable checks as tests are run in installcheck

* librdf: make tests run, but disable

* neon, neon_0_29: make tests run, but disable

* pciutils: 3.6.0 -> 3.6.1

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pciutils/versions.

* mesa: more include fixes

mostly from void-linux (thanks!)

* npth: 1.5 -> 1.6

minor bump

* boost167: Add lockfree next_prior patch

* stdenv: cleanup darwin bootstrapping

Also gets rid of the full python and some of it's dependencies in the
stdenv build closure.

* Revert "pciutils: use standardized equivalent for canonicalize_file_name"

This reverts commit f8db20fb3a.
Patching should no longer be needed with 3.6.1.

* binutils-wrapper: Try to avoid adding unnecessary -L flags

(cherry picked from commit f3758258b8895508475caf83e92bfb236a27ceb9)
Signed-off-by: Domen Kožar <domen@dev.si>

* libffi: don't check on darwin

libffi usages in stdenv broken darwin. We need to disable doCheck for that case.

* "rm $out/share/icons/hicolor/icon-theme.cache" -> hicolor-icon-theme setup-hook

* python.pkgs.pytest: setupHook to prevent creation of .pytest-cache folder, fixes #40273

When `py.test` was run with a folder as argument, it would not only
search for tests in that folder, but also create a .pytest-cache folder.
Not only is this state we don't want, but it was also causing
collisions.

* parity-ui: fix after merge

* python.pkgs.pytest-flake8: disable test, fix build

* Revert "meson: 0.46.1 -> 0.47.0"

With meson 0.47.0 (or 0.47.1, or git)
things are very wrong re:rpath handling
resulting in at best missing libs but
even corrupt binaries :(.

When we run patchelf it masks the problem
by removing obviously busted paths.
Which is probably why this wasn't noticed immediately.

Unfortunately the binary already
has a long series of paths scribbled
in a space intended for a much smaller string;
in my testing it was something like
lengths were 67 with 300+ written to it.

I think we've reported the relevant issues upstream,
but unfortunately it appears our patches
are what introduces the overwrite/corruption
(by no longer being correct in what they assume)

This doesn't look so bad to fix but it's
not something I can spend more time on
at the moment.

--

Interestingly the overwritten string data
(because it is scribbled past the bounds)
remains in the binary and is why we're suddenly
seeing unexpected references in various builds
-- notably this is is the reason we're
seeing the "extra-utils" breakage
that entirely crippled NixOS on master
(and probably on staging before?).

Fixes #43650.

This reverts commit 305ac4dade.

(cherry picked from commit 273d68eff8)
Signed-off-by: Domen Kožar <domen@dev.si>
2018-07-24 15:04:48 +01:00
Orivej Desh 024871718d libffi: fix check
(cherry picked from commit 13b80d7805ef11db1a3d1511171cee378f0a692f)
2018-05-30 02:07:50 +00:00
Shea Levy 48283de641
libffi: Add RISC-V patch. 2018-02-24 17:59:00 -05:00
Will Dietz 3b9e99ddae libffi: add patch to fix w/musl
also use patches from OE, fix musl softfloat build
2018-02-13 09:44:42 -06:00
Tuomas Tynkkynen 65445212df libffi: Add aarch64 patch
This fixes pythonPackages.cffi test suite failure.
2017-09-15 23:55:50 +03:00
Tuomas Tynkkynen 1ff422aa23 treewide: Add man & info outputs where necessary (instead of doc)
Because man & info pages won't be going to $doc after the next commit.
Scripted change for the files having one-package-per-file.
2017-08-11 21:32:54 +03:00
hsloan 5a21bb6917 libffi: Don't use stdenv ? cross 2017-06-28 19:34:03 -04:00
Tuomas Tynkkynen a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Vladimír Čunát f9f6f41bff Merge branch 'master' into closure-size
TODO: there was more significant refactoring of qtbase and plasma 5.5
on master, and I'm deferring pointing to correct outputs to later.
2015-12-31 09:53:02 +01:00
Vladimír Čunát 82a21ccaf7 libffi: refactor meta 2015-12-17 14:45:46 +01:00
Vladimír Čunát 5a129a8121 libffi: doCheck optionally and do so for glib-tested
This is kind-of reverting fcf99efcd.
2015-12-17 14:45:46 +01:00
Vladimír Čunát 32a5deb455 libffi: fixup libffi.pc, and refactor 2015-10-03 17:07:49 +02:00
Tuomas Tynkkynen 4be9702fe0 libffi: Don't manually move lib64 stuff
It breaks the i686 build. TODO: test that this doesn't break x86_64 ;)
2015-10-03 14:08:50 +02:00
Vladimír Čunát 5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
Eelco Dolstra fcf99efcd2 Reduce dependency bloat 2015-06-11 00:26:24 +02:00
Marko Durkovic 2904aa33bb cygwin: libffi 2015-05-28 10:53:36 +02:00
Vladimír Čunát bf414c9d4f Merge 'staging' into closure-size
- there were many easy merge conflicts
- cc-wrapper needed nontrivial changes

Many other problems might've been created by interaction of the branches,
but stdenv and a few other packages build fine now.
2015-04-18 11:22:20 +02:00
William A. Kennington III 47fe162bb9 libffi: 3.0.13 -> 3.2.1 2015-03-26 16:12:24 -07:00
codyopel e29b0da9c7 remove stdenv.isBSD 2015-02-24 22:15:51 -05:00
Ludovic Courtès 41b53577a8 unmaintain a bunch of packages 2015-01-13 22:33:49 +01:00
Eelco Dolstra 0518ccf5af Merge remote-tracking branch 'origin/master' into staging
Conflicts:
	pkgs/stdenv/generic/default.nix
2014-11-06 10:16:39 +01:00
Mateusz Kowalczyk 007f80c1d0 Turn more licenses into lib.licenses style
Should eval cleanly, as far as -A tarball tells me.

Relevant: issue #2999, issue #739
2014-11-06 00:48:16 +00:00
Eelco Dolstra a4619673b5 clang/llvm: Fewer build-time dependencies
Such as valgrind, dejagnu, tcl/tk, ...
2014-10-11 22:26:39 +02:00
Joel Taylor 3e8344d334 suitable clang stdenv 2014-09-09 13:54:24 -07:00
Vladimír Čunát 381dcb1d98 various packages fixed 2014-08-30 23:30:31 +02:00
Vladimír Čunát a70180ba73 mutiout: make it builtin 2014-08-30 08:27:43 +02:00
Vladimír Čunát fb59f27a43 WIP: getting good 2014-08-27 01:14:09 +02:00
Ricardo M. Correia 1074a3143e libffi: Add support for grsecurity
Patch taken from Hardened Gentoo
2014-05-15 13:25:50 +02:00
Vladimír Čunát 3036e86284 libffi on FreeBSD: remove unsupported "-r" option to ln
Done without changing hashes on other platforms.
Sometimes I forget that GNU's not UNIX.
2013-09-15 07:57:48 +02:00
Vladimír Čunát 7f7c196912 libffi: disable tests on FreeBSD as well
There are strange build failures of expect. Ikwildrpepper says the bash
eats all CPU, but the build is stuck.
2013-09-14 21:18:55 +02:00
Vladimír Čunát e12c5deabe libffi: disable doCheck on darwin until we fix dejagnu build 2013-09-04 15:51:49 +02:00
Vladimír Čunát 1fb3110b84 libffi: produce portable library, enable doCheck
Thanks to #907.
2013-09-03 22:08:59 +02:00
Ludovic Courtès a4130abcbf libffi: upgrade to 3.0.13 2013-04-03 10:39:34 +02:00
Ludovic Courtès 4cbd319ce3 libffi: Revert to 3.0.9.
Version 3.0.10 fails to build on x86_64-freebsd8.2.  Reported on
libffi-discuss@sourceware.org.

svn path=/nixpkgs/trunk/; revision=31601
2012-01-16 23:36:05 +00:00
Ludovic Courtès 92703a6d9e libffi 3.0.10.
svn path=/nixpkgs/trunk/; revision=31600
2012-01-16 21:59:33 +00:00
Ludovic Courtès 7762934904 BDW-GC, GMP, libffi, libunistring, Readline: Don't use the native `strip'.
Using the native `strip' breaks static libraries when cross-compiling.

svn path=/nixpkgs/trunk/; revision=27572
2011-07-01 13:20:12 +00:00
Ludovic Courtès f75cf224ee libffi 3.0.9.
svn path=/nixpkgs/trunk/; revision=19728
2010-01-29 11:40:39 +00:00
Ludovic Courtès 14dc82302c libffi: Install headers under "$out/include".
svn path=/nixpkgs/trunk/; revision=17655
2009-10-05 22:21:40 +00:00
Ludovic Courtès 48f590e95c Add libffi, a foreign function interface library.
svn path=/nixpkgs/trunk/; revision=11505
2008-04-09 07:40:48 +00:00