Commit Graph

733 Commits

Author SHA1 Message Date
Artturin
3251013cc1 treewide: env.NIX_CFLAGS_COMPILE use toString on result of optionals
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Artturin
6f6cc4a22d treewide: use toString on list NIX_CFLAGS_COMPILE
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper
2023-02-22 21:23:04 +02:00
Etienne Laurin
045e8b36db 7zz: convert mingw script to patch 2023-02-21 03:21:37 -07:00
Etienne Laurin
d3f8d98df7 7zz: cross-compile for mingw 2023-02-21 01:35:54 -07:00
Felix Buehler
bc3d5934d7 treewide: use lib.optionals 2023-02-14 19:11:59 +01:00
github-actions[bot]
e628b19818
Merge master into staging-next 2023-02-06 00:02:27 +00:00
Alyssa Ross
0478ec60f2
arc_unpacker: depend on libiconv unconditionally
libiconv is already defined per-platform.  The actual libiconv library
won't be built on platforms like Linux where it doesn't need to be, so
there's no need to maintain a separate platform list here.

Required to build for FreeBSD.
2023-02-05 16:46:57 +00:00
Vladimír Čunát
68b1727907
anbox, arc_unpacker: fix build after defaulting to gcc12 2023-02-04 12:36:34 +01:00
R. Ryantm
dd49386fbb unrar: 6.2.3 -> 6.2.5 2023-02-02 10:20:56 -06:00
Weijia Wang
2583c39c25
Merge pull request #213724 from r-ryantm/auto-update/xarchiver
xarchiver: 0.5.4.19 -> 0.5.4.20
2023-01-31 10:26:08 +01:00
R. Ryantm
20725055e0 xarchiver: 0.5.4.19 -> 0.5.4.20 2023-01-31 05:36:08 +00:00
github-actions[bot]
feb2240b37
Merge master into staging-next 2023-01-22 18:01:03 +00:00
Mario Rodas
8f9b320b0e
Merge pull request #211397 from r-ryantm/auto-update/unrar
unrar: 6.2.1 -> 6.2.3
2023-01-22 10:01:20 -05:00
Ferry Jérémie
65d7e87fdb treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
R. Ryantm
ba29c7fb94 unrar: 6.2.1 -> 6.2.3 2023-01-18 14:08:45 +00:00
Robert Scott
58784f72d5
Merge pull request #209367 from LeSuisse/unzip-CVE-2022-0529-CVE-2022-0530
unzip: apply patch for CVE-2022-0529 and CVE-2022-0530
2023-01-12 22:04:11 +00:00
tricktron
b3091f774e
pax: fix build with musl (#193195)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-01-07 23:52:04 +01:00
Thomas Gerbet
0a3e68ba84 unzip: apply patch for CVE-2022-0529 and CVE-2022-0530
https://lists.debian.org/debian-lts-announce/2022/09/msg00028.html
https://github.com/ByteHackr/unzip_poc
2023-01-06 21:10:03 +01:00
Arnout Engelen
1880157ac1
gbl: fix darwin-aarch64 build
Compilation failed due to an old transitive dependency on 'ring',
https://github.com/briansmith/ring/issues/1063.
2023-01-04 09:21:57 +01:00
Rick van Schijndel
9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Zhaofeng Li
73410c1043 zarchive: init at 0.1.2 2022-10-31 14:03:26 -06:00
toonn
721d63b05c unrar: 6.1.7 -> 6.2.1 2022-10-29 11:39:43 -05:00
Damien Cassou
610c33b041
payload_dumper: init at unstable-2022-04-11 2022-10-24 09:15:52 +02:00
Piotr Halama
357600c08f unar: fix linker failure 2022-10-20 13:19:43 +02:00
José Romildo Malaquias
84c468fb53
Merge pull request #193837 from r-ryantm/auto-update/xarchiver
xarchiver: 0.5.4.18 -> 0.5.4.19
2022-10-04 17:58:55 -03:00
R. Ryantm
2f06a5fb8e wimlib: 1.13.5 -> 1.13.6 2022-10-01 05:30:36 +00:00
R. Ryantm
88eed8261d xarchiver: 0.5.4.18 -> 0.5.4.19 2022-10-01 03:43:14 +00:00
Dmitry Kalinkin
ca6034728b unzip: fix 404'd patch url 2022-09-28 15:03:46 -04:00
Anthony Roussel
f39c54608a rar: 6.11 -> 6.12 2022-08-25 21:44:02 +02:00
R. Ryantm
5f439dcf51 xarchiver: 0.5.4.17 -> 0.5.4.18 2022-08-02 06:16:22 +00:00
Vladimír Čunát
4ba8bc7d40
Merge branch 'master' into staging-next 2022-07-24 09:44:09 +02:00
Thiago Kenji Okada
d383e90ace _7zz: build on macOS 2022-07-23 21:20:22 +01:00
Thiago Kenji Okada
2458b102be _7zz: 22.00 -> 22.01 2022-07-23 12:26:18 +01:00
Thiago Kenji Okada
217e40ec41 _7zz: improve update.sh script 2022-07-23 12:26:17 +01:00
Sandro
8a5a3cb200
Merge pull request #181574 from shyim/patch-5 2022-07-17 00:04:18 +02:00
Shyim
41bf342f0a unzip: fix symlink unpacking issues on larger zips
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-16 11:06:56 +01:00
github-actions[bot]
fa96a4fa79
Merge master into staging-next 2022-07-16 00:02:26 +00:00
Yuriy Taraday
ee0389d810 runzip: enable for Darwin
It builds and works just fine on Darwin, it just needs explicit
libiconv dependency.
2022-07-15 19:00:18 +04:00
github-actions[bot]
1a74c5d703
Merge master into staging-next 2022-07-14 18:01:27 +00:00
Elis Hirwing
729fb87ae3
treewide: Drop myself as maintainer for some packages I don't use 2022-07-14 14:39:58 +02:00
PedroHLC ☭
5bb06a6970
unzip: no-lchmod build flag 2022-07-05 10:07:06 -03:00
github-actions[bot]
86c34bf774
Merge master into staging-next 2022-06-27 12:01:26 +00:00
Robert Schütz
2b9bd14ba9 unrar: 6.1.6 -> 6.1.7 2022-06-27 00:20:30 +00:00
github-actions[bot]
b1e76b5db1
Merge master into staging-next 2022-06-27 00:02:25 +00:00
Robert Schütz
e6a76ff9ae _7zz: 21.07 -> 22.00 2022-06-26 19:31:21 +00:00
github-actions[bot]
46b42d9734
Merge staging-next into staging 2022-06-16 23:27:58 +00:00
Robert Scott
61c35da607 treewide/servers,tools: add sourceType binaryNativeCode for many packages 2022-06-16 20:21:42 +01:00
Sergei Trofimovich
ffb456ae61 fetchzip: force UTF-8 compatibel locale to unpack non-ASCII symbols
musl and darwin support UTF-8 locales without any extras. As a result
unzip can unpack UTF-8 filenames there as is. But on glibc without
locale archive presence files get mangled as:

    deps/αβ -> deps/#U03b1#U03b2

This makes `fetchzip` fixed-output derivations unstable.

Tested this change to fail in `coq.src` which was generated in system
that mangles UTF-8 symbols:

    $ nix build -f. coq.src --rebuild -L
    source> trying https://github.com/coq/coq/archive/V8.15.2.zip
    source>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
    source>                                  Dload  Upload   Total   Spent    Left  Speed
    source>   0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
    source> 100 8945k  100 8945k    0     0  1513k      0  0:00:05  0:00:05 --:--:-- 1989k
    source> unpacking source archive /build/V8.15.2.zip
    error: hash mismatch in fixed-output derivation '/nix/store/hrnyykm7wgw8vxisgq7hc2bg5gr0y6s8-source.drv':
             specified: sha256-h81nFqkuvZkMR7YLHy7laTq5yOhjMW+w6rYzncxvyD4=
                got:    sha256-DTspmwyD3Evl1CUmvUy2MonbLGUezvsHN3prmP9eK2I=

Note: it means that some of existing caches for fixed output
derivations become incorrect. It should not break already cached
tarballs on cache.nixos.org thus the impact should not be widespread.
2022-06-11 11:25:58 +01:00
Rick van Schijndel
cd3c25616d treewide: pkgs/tools: mark broken for darwin
All packages that were failing on x86_64-darwin are marked broken.
I'm assuming here that these are also broken on aarch64-darwin.
2022-05-29 10:56:04 +02:00