Commit Graph
380517 Commits
Author SHA1 Message Date
Adam Joseph 97c43828fb fixLibtool(): patch ./configure, add file to common-path.nix
libtool's libtool.m4 script assumes that `file` is available, and can
be found at `/usr/bin/file` (this path is hardwired).  Furthermore,
the script with this assumption is vendored into the ./configure
scripts of an enormous number of packages.  Without this commit, you
will frequently see errors like this during the configurePhase with
the sandbox enabled:

  ./configure: line 9595: /usr/bin/file: command not found

Due mostly to luck, this error does not affect native compiles on
nixpkgs' two most popular platforms, x86_64-linux and aarch64-linux.
However it will cause incorrect linker flag detection and a failure to
generate shared libraries for sandboxed cross-builds to a x86_64-linux
host as well as any sandboxed build (cross or native) for the following
hosts: x86_64-freebsd, *-hpux, *-irix, mips64*-linux, powerpc*-linux,
s390x-linux, s390x-tpf, sparc-linux, and *-solaris.

This commit fixes the problem by adding an extra line to fixLibtool()
in pkgs/stdenv/generic/setup.sh.  This extra line will scan the
unpacked source code for executable files named "configure" which
contain the following text:

'GNU Libtool is free software; you can redistribute it and/or modify'

This text is taken to be an indicator of a vendored libtool.m4.  When
it is found, the configure script containing it is subjected to `sed
-i s_/usr/bin/file_file_` which replaces all occurrences of
`/usr/bin/file` with `file`.

Additionally, the `file` package is now considered to be part of
`stdenv`.  It has been added to `common-path.nix` so that the `file`
binary will be found in the `$PATH` of every build, except for the
bootstrap-tools and the first few stages of stdenv boostrapping.

Verified no regressions under:

  nix-build --arg pkgs 'import ./. {}' ./lib/tests/release.nix

This commit allows the following commands to complete, which should
enable Hydra to produce bootstrap-files for mips64el:

  nix-build \
    --option sandbox true \
    --option sandbox-fallback false \
    pkgs/top-level/release-cross.nix \
    -A bootstrapTools.mips64el-linux-gnuabi64.build

  nix-build \
    --option sandbox true \
    --option sandbox-fallback false \
    . \
    -A pkgsCross.mips64el-linux-gnuabi64.nix_2_4
2022-05-26 13:53:36 -07:00
Ben SiraphobandGitHub b20b6fa0d8 Merge pull request #172962 from Artturin/defaultparallelnorebuild 2022-05-25 12:25:34 -07:00
github-actions[bot]andGitHub ab6c34c083 Merge staging-next into staging 2022-05-25 18:01:56 +00:00
github-actions[bot]andGitHub 78e53cddde Merge master into staging-next 2022-05-25 18:01:17 +00:00
SandroandGitHub f905feccd0 Merge pull request #174563 from SuperSandro2000/go-camo 2022-05-25 20:00:53 +02:00
Cyril CohenandVincent Laporte d113661156 coqPackages: etc
- put `findlib` in `buildInputs` of `mkCoqDerivation` to make sure `coq` packages find their ocaml plugin dependencies,
- use `propagatedBuildInputs` to make sure ocaml plugin dependencies are in path,
- updated `coqPackage.heq` (broken url),
- fixed use of `DESTDIR` and `COQMF_COQLIB` in mkCoqDerivation,
- adding `COQCORELIB` environement variable to put ocaml plugin files in the right place,
- make `metaFetch` available from `coqPackages`
2022-05-25 20:00:25 +02:00
Bernardo MeurerandGitHub 41a7a6caab Merge pull request #174374 from lovesegfault/plex-update
plexRaw: 1.26.1.5798-99a4a6ac9 -> 1.26.2.5797-5bd057d2b
2022-05-25 10:47:38 -07:00
Pavol RusnakandGitHub 6ed33abaff Merge pull request #174551 from prusnak/curl-gnutls-darwin
curl: fix curl-gnutls build on darwin
2022-05-25 19:35:18 +02:00
Sandro Jäckel dbed75d12d go-camo: remove tests which require network 2022-05-25 19:33:32 +02:00
SandroandGitHub 483969a519 Merge pull request #174301 from Lassulus/nixos-generators
nixos-generators: 1.5.0 -> 1.6.0
2022-05-25 19:31:37 +02:00
SandroandGitHub d0f6b9d596 Merge pull request #174096 from GaetanLepage/pkg/mprocs
mprocs: init at 0.2.2
2022-05-25 19:29:50 +02:00
Jan TojnarandGitHub 485d323a4c Merge pull request #174102 from jtojnar/gnome-updates
GNOME updates
2022-05-25 19:26:26 +02:00
maxine [they]andGitHub 8dc951af1d Merge pull request #174546 from maxeaubrey/docker_20.10.16 2022-05-25 18:56:30 +02:00
Pavol Rusnak c571a647c1 curl: fix curl-gnutls build on darwin 2022-05-25 18:48:22 +02:00
Fabian AffolterandGitHub ea3f23b467 Merge pull request #174416 from r-ryantm/auto-update/python3.10-mwoauth
python310Packages.mwoauth: 0.3.7 -> 0.3.8
2022-05-25 18:47:37 +02:00
maxine [they]andGitHub eeb2d04b9d Merge pull request #174524 from r-ryantm/auto-update/coredns
coredns: 1.9.1 -> 1.9.2
2022-05-25 18:42:06 +02:00
Maxine Aubrey f21fb9441f docker: 20.10.15 -> 20.10.16
- https://docs.docker.com/engine/release-notes/#201016
- https://github.com/docker/cli/releases/tag/v20.10.16
- https://github.com/moby/moby/releases/tag/v20.10.16
2022-05-25 18:28:01 +02:00
SandroandGitHub 7fa8d8b2e2 Merge pull request #153481 from Tchekda/submit/bird-lg 2022-05-25 18:20:58 +02:00
maxine [they]andGitHub 56059fd2e0 Merge pull request #174488 from r-ryantm/auto-update/docker-credential-gcr
docker-credential-gcr: 2.1.2 -> 2.1.4
2022-05-25 18:19:15 +02:00
NANASHI0X74andGitHub 15fc26bb3e slack: 4.25.1 -> 4.26.1 (#174085) 2022-05-25 18:17:23 +02:00
maxine [they]andGitHub c78c432c0f Merge pull request #174392 from r-ryantm/auto-update/1password-cli
_1password: 2.2.0 -> 2.3.1
2022-05-25 18:17:03 +02:00
maxine [they]andGitHub 7e35bd6b74 Merge pull request #174486 from r-ryantm/auto-update/docker-compose
docker-compose_2: 2.5.0 -> 2.5.1
2022-05-25 18:16:52 +02:00
SandroandGitHub b87709307e Merge pull request #174337 from SuperSandro2000/lincity
lincity: mark broken on darwin
2022-05-25 18:14:39 +02:00
Kai WohlfahrtandGitHub df1f9ecd9b python3Packages.aiohttp: remove trustme test dependency on aarch64-darwin
This is an optional test dependency dependency is no longer needed, and
makes the package unbuildable on aarch64-darwin, as it transitively
depends on pyopenssl, which is marked broken.
2022-05-25 16:14:26 +00:00
Rick van SchijndelandGitHub f197bd6e34 Merge pull request #174371 from NickCao/qt6-alias
qt6: remove all references to aliases
2022-05-25 17:48:07 +02:00
R. Ryantmandehmry 5e880240cd picard: 2.7.3 -> 2.8 2022-05-25 10:19:52 -05:00
Pavol RusnakandGitHub ef50f067f7 Merge pull request #171043 from prusnak/curlWithGnuTls
treewide: refactor curlWithGnuTls into all-packages.nix
2022-05-25 17:18:07 +02:00
Patrick Jacksonandehmry 3bb35474b6 transmission-remote-gtk: 1.4.1 -> 1.5.1 2022-05-25 10:16:09 -05:00
pennaeandKerstin 6ce1097662 unifi7: 7.1.65 -> 7.1.66 2022-05-25 16:53:13 +02:00
zowoq 2836cfa1b1 gh: 2.11.1 -> 2.11.2
https://github.com/cli/cli/releases/tag/v2.11.2
2022-05-26 00:52:39 +10:00
R. Ryantm ff7d60fdcf coredns: 1.9.1 -> 1.9.2 2022-05-25 14:37:32 +00:00
Fabian AffolterandGitHub 22aa8e5c7a Merge pull request #174423 from fabaff/bump-angr
python310Packages.angr: 9.2.4 -> 9.2.5
2022-05-25 16:36:58 +02:00
Fabian AffolterandGitHub 70d4972f61 Merge pull request #174429 from fabaff/exceptiongroup-bump
python310Packages.exceptiongroup: 1.0.0rc5 -> 1.0.0rc7
2022-05-25 16:31:08 +02:00
Pavol RusnakandGitHub c7f2e09341 Merge pull request #174499 from prusnak/hwi
hwi: 2.1.0 -> 2.1.1
2022-05-25 16:18:28 +02:00
Fabian AffolterandGitHub f612a49ebc Merge pull request #174493 from r-ryantm/auto-update/python310Packages.PyChromecast
python310Packages.PyChromecast: 12.1.2 -> 12.1.3
2022-05-25 16:15:29 +02:00
Fabian AffolterandGitHub e9df47e3ad Merge pull request #174453 from r-ryantm/auto-update/python3.10-atlassian-python-api
python310Packages.atlassian-python-api: 3.20.0 -> 3.24.0
2022-05-25 15:57:19 +02:00
Mario RodasandGitHub e698f9713a Merge pull request #174490 from r-ryantm/auto-update/pyradio
pyradio: 0.8.9.17 -> 0.8.9.20
2022-05-25 08:36:48 -05: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
adisbladisandGitHub e855c8a40a Merge pull request #174399 from aidalgol/emacs-header-file-mode-autoloads
header-file-mode: unstable-2022-05-13 -> unstable-2022-05-25
2022-05-25 20:50:01 +08:00
Mario RodasandGitHub c8f971681e Merge pull request #174456 from r-ryantm/auto-update/cloud-nuke
cloud-nuke: 0.11.3 -> 0.11.6
2022-05-25 07:37:11 -05:00
Mario RodasandGitHub e65d7cb29a Merge pull request #174365 from r-ryantm/auto-update/ani-cli
ani-cli: 2.1 -> 2.2
2022-05-25 07:36:44 -05:00
Alyssa Ross 2b22a409c3 linuxPackages.netatop: fix build with Linux 5.18
With 5.18, implicit fallthrough is an error, and netatop hasn't caught
up yet.
2022-05-25 12:34:07 +00:00
Alyssa Ross d28b794ef0 linuxPackages.pktgen: 21.11.0 -> 22.04.1
21.11.0 didn't build with our version of DPDK.
2022-05-25 12:33:42 +00:00
Alyssa Ross 78cf42b90d cgiserver: init at 1.0.0 2022-05-25 12:32:34 +00:00
Alyssa Ross 4c83012f83 linuxPackages.openafs: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Alyssa Ross 3aa1b44629 linuxPackages.vmware: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Alyssa Ross bd1aebae22 linuxPackages.virtualbox: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Alyssa Ross 3557c0f450 linuxPackages.rtl88xxau-aircrack: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Alyssa Ross 651ee5ecf5 linuxPackages.rtl8821ce: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00
Alyssa Ross b3f626f6a0 linuxPackages.rtl8192eu: mark broken on Linux 5.18 2022-05-25 12:29:13 +00:00