Commit Graph

97 Commits

Author SHA1 Message Date
Adam Joseph
12618e7986 patchelf: if targetPlatform.isMips: apply patchelf/pull/380
This PR applies the patches which fix a MIPS-specific bug in patchelf.
The patches are applied only if targetPlatform.isMips in order to:

1. Not cause a mass-rebuild on the mainstream platforms

2. Make this PR acceptable for inclusion in `master` rather than
   `staging`.

This is the very last commit needed in order for Hydra to be able to
produce a bootstrap-files tarball for mips64el (the other one is in
`staging-next`).

This PR can be reverted after the next release of patchelf lands in
nixpkgs.
2022-06-19 15:16:26 -07:00
Artturin
1d44ac176c treewide: add enableParallelBuilding's to bootstrap packages so hashes stay the same
when enableParallelBuildingByDefault is enabled

verified with
`nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
2022-05-25 16:03:14 +03:00
Artturin
f002ffed9a treewide: enable strictDeps in bootstrap packages 2022-05-22 16:40:26 +03:00
Alyssa Ross
3a73bf2b6e patchelf: clarify license 2022-04-22 17:31:57 +00:00
Alyssa Ross
e22d0b49a9 patchelf: use 0.13.x on aarch64+musl
The C++ compiler in our musl bootstrap for aarch64 is too old to build
the latest version of patchelf, so we need to use the latest version
that builds with that compiler to get a new bootstrap.
2022-04-22 17:26:43 +00:00
Alyssa Ross
3838a0a7e7 patchelf_0_13: init at 0.13.1
The C++ compiler in our musl bootstrap for aarch64 is too old to build
the latest version of patchelf, so introduce a package for the most
recent version it's capable of building that we can use to get a new
bootstrap.
2022-04-22 17:26:43 +00:00
Sandro
ebd9c4ae02
Merge pull request #163362 from trofi/updater-patchelfUnstable
patchelfUnstable: 2021-11-16 -> 2022-02-21
2022-04-05 21:27:48 +02:00
Sergei Trofimovich
7513cd2f5a patchelfUnstable: 2021-11-16 -> 2022-02-21
Among other things fixes build failure against gcc-12.

While at it added trivial updater for git repository.
2022-03-08 18:18:51 +00:00
Adam Joseph
e693994cc8 patchelf: 0.14.3 -> 0.14.5 2022-02-24 18:24:32 +10:00
Felix Buehler
814b63e93e treewide: rename name to pname&version 2022-02-06 21:45:12 +01:00
R. Ryantm
8d3cdc9c2d patchelf: 0.13 -> 0.14.3 2021-12-11 09:30:34 -08:00
Thomas Watson
449c0a1d22 patchelfUnstable: 2020-07-11 -> 2021-11-16 2021-11-26 16:26:50 +00:00
Felix Buehler
345d71ffd0 pkgs/development: rename name to pname&version 2021-11-10 14:03:21 +01:00
ppom
896623dbe9 patchelf: fix homepage 2021-09-21 13:04:09 +02:00
Domen Kožar
46398325f5 patchelf: 0.12 -> 0.13 2021-08-05 16:15:36 +02:00
Ben Siraphob
c522fec274 pkgs/development/tools: stdenv.lib -> lib 2021-01-23 20:30:03 +07:00
Pierre Bourdon
f38ed04f0c
patchelf: 0.11 -> 0.12 2020-08-28 02:35:55 +02:00
David McFarland
552c4d84ca patchelfUnstable: 2020-06-03 -> 2020-07-11 2020-08-18 09:10:26 -03: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
Vladimír Čunát
e3ef6f60ab
patchelf_0_9: bring this version back 2020-06-20 12:17:42 +02:00
Domen Kožar
d020ee07cd
patchelf: 0.9 -> 0.11 2020-06-09 17:36:57 +02:00
Domen Kožar
e2b0fd0b1d
patchelfUnstable: bump 2020-06-03 16:06:52 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Jakub Kądziołka
2c40ba774d
patchelf: Fix homepage URL
Since this commit on nixos-homepage, the homepage was 404-ing:
179733c176
2020-04-06 14:08:11 +02:00
John Ericson
3835442cf0 patchelf: dontPatchELF in setup hook is allowed to be undefined 2019-11-01 14:44:44 -04:00
Vladimír Čunát
4e5b465052
patchelf: 0.10 -> 0.9 (downgrade!)
This is a partial revert of #58715.  Bumping the default caused problems
described in #69213.  I tested that the vscode corruption happened even
with the 0.10 pre-release, so I'm keeping patchelfUnstable on 0.10
(patchelfUnstable shouldn't cause a large rebuild anyway)
2019-09-22 09:47:36 +02:00
Vladimír Čunát
22a216849b
Re-Revert "Merge branch 'staging-next'"
This reverts commit f8a8fc6c7c.
2019-09-22 09:38:09 +02:00
Vladimír Čunát
f8a8fc6c7c
Revert "Merge branch 'staging-next'"
This reverts commit 41af38f372, reversing
changes made to f0fec244ca.

Let's delay this.  We have some serious regressions.
2019-09-21 20:05:09 +02:00
Ihar Hrachyshka
59bed0a7b3 Adjust patchelfUnstable to patchelf derivation layout 2019-08-30 13:18:10 -07:00
Ihar Hrachyshka
0611b32e92 patchelf: fixed tests for musl
The recipe is copied from patchelfUnstable.
2019-08-30 13:18:06 -07:00
Ihar Hrachyshka
f345dc1dad Bump patchelfUnstable to 0.10
This is to reflect the bump for regular version. We are leaving
patchelfUnstable b/c in the future we may need it to get the very latest
patches to patchelf again.
2019-08-30 13:17:58 -07:00
Ihar Hrachyshka
d7fb15024f Bump patchelf to 0.10
This release contains three years of bug fixes and improvements.
2019-08-30 13:17:01 -07:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Bob van der Linden
e0a2bc49fd
patchelfUnstable: 0.10-pre-20180509 -> 0.10-pre-20190328 2019-05-04 23:43:33 +02:00
Benjamin Hipple
d7003ed576 patchelf: fix license
Use the attr set instead of a string
2018-09-29 16:36:33 -04:00
Will Dietz
7bf9b4256e patchelfUnstable: disable tests on Darwin since they've long failed
Bit of context/discussion:
https://github.com/NixOS/nixpkgs/pull/45449#issuecomment-414844592
2018-08-21 19:06:45 -05:00
Will Dietz
e12871912e patchelf: 0.10-pre-20180108 -> 0.10-pre-20180509, minor touchup
Useful update-- adds support for accepting multiple files as arguments
and fixes handling of large executables (>2Gb).

While touching this, modify version to include more info.

Preserving version format previously used, although not usual style.
2018-08-21 17:01:29 -05:00
Jan Malakhovski
9ab74be96b patchelf: disable tests 2018-08-11 09:35:35 +00:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Will Dietz
c0d343bc5f patchelfUnstable: fix build on musl, disable failing test 2018-02-13 09:44:58 -06:00
Tuomas Tynkkynen
73695300bc patchelfUnstable: Fix hash 2018-01-22 11:00:29 +02:00
Herwig Hochleitner
7706f38a6c patchelfUnstable: 0.10-pre-20160920 -> 0.10-pre-20180108 2018-01-22 02:16:29 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
John Ericson
e5567bae2d treewide: Do not limit hardenging because gcc 4.9 in bootstrap
Bootstrap tools has since been bumped
2017-09-14 10:27:13 -04:00
Matthew Justin Bauer
2eacddf0dc treewide: homepage URL fixes (#28475)
* pgadmin: use https homepage

* msn-pecan: move homepage to github

google code is now unavailable

* pidgin-latex: use https for homepage

* pidgin-opensteamworks: use github for homepage

google code is unavailable

* putty: use https for homepage

* ponylang: use https for homepage

* picolisp: use https for homepage

* phonon: use https for homepage

* pugixml: use https for homepage

* pioneer: use https for homepage

* packer: use https for homepage

* pokerth: usee https for homepage

* procps-ng: use https for homepage

* pycaml: use https for homepage

* proot: move homepage to .github.io

* pius: use https for homepage

* pdfread: use https for homepage

* postgresql: use https for homepage

* ponysay: move homepage to new site

* prometheus: use https for homepage

* powerdns: use https for homepage

* pm-utils: use https for homepage

* patchelf: move homepage to https

* tesseract: move homepage to github

* quodlibet: move homepage from google code

* jbrout: move homepage from google code

* eiskaltdcpp: move homepage to github

* nodejs: use https to homepage

* nix: use https for homepage

* pdf2djvu: move homepage from google code

* game-music-emu: move homepage from google code

* vacuum: move homepae from google code
2017-08-22 20:50:04 +02:00
Eelco Dolstra
ddd41a509a virtualbox: Drop dontPatchELF hack
However, this also requires ad8f31df7f
to get rid of gcc_multi.out in the closure.
2016-09-20 18:02:19 +02:00
Robin Gloster
2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Guillaume Maudoux
bfd522da63 setup-hooks: do not pass missing dirs to find (close #15405)
find fails when called with an inexistent search path.
That situation may arise when the output is created after by a postFixup hook.
vcunat amended the PR by clarifying one more `return` to `return 0`.
2016-05-22 12:08:01 +02:00
Robin Gloster
d020caa5b2 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-04-18 13:49:22 +00:00
Vladimír Čunát
ab15a62c68 Merge branch 'master' into closure-size
Beware that stdenv doesn't build. It seems something more will be needed
than just resolution of merge conflicts.
2016-04-01 10:06:01 +02:00