Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to libarchive so it behaves correctly #9557

Merged

Conversation

bryanhonof
Copy link
Member

@bryanhonof bryanhonof commented Dec 7, 2023

Motivation

AppleDouble files were extracted differently on macOS machines than on other UNIX's.
Setting archive_read_set_format_option(this->archive, NULL ,"mac-ext",NULL) fixes this problem, since it just ignores the AppleDouble file and treats it as a normal one.
This was a problem since it caused source archives to be different between macOS and Linux.

Context

Ref: #9290

Priorities

Add 👍 to pull requests you find important.

Closes #9290

@roberth roberth requested a review from tomberek December 7, 2023 10:21
@bryanhonof bryanhonof force-pushed the bryanhonof.fix-apple-double-shenanigans branch from 717347b to 77a9112 Compare December 7, 2023 10:34
…y with AppleDouble files

AppleDouble files were extracted differently on macOS machines than on other
UNIX's.
Setting `archive_read_set_format_option(this->archive, NULL ,"mac-ext",NULL)`
fixes this problem, since it just ignores the AppleDouble file and treats it as
a normal one.
This was a problem since it caused source archives to be different between macOS
and Linux.

Ref: NixOS#9290
@bryanhonof bryanhonof force-pushed the bryanhonof.fix-apple-double-shenanigans branch from 77a9112 to bf00d5e Compare December 7, 2023 10:35
@edolstra edolstra merged commit c3827ff into NixOS:master Dec 7, 2023
8 checks passed
@fricklerhandwerk fricklerhandwerk added bug macos Nix on macOS, aka OS X, aka darwin labels Jan 8, 2024
tebowy pushed a commit to tebowy/nix that referenced this pull request Jul 11, 2024
…uble-shenanigans

Add option to libarchive so it behaves correctly

(cherry picked from commit c3827ff)
Change-Id: Ib0f928851093f4c644bac071d1c8f8aeec803198
infinisil added a commit to NixOS/SC-election-2024 that referenced this pull request Sep 20, 2024
Some of these are a bit after the specified time period, but I also believe some of these items are difficult to gauge how much "impact" they had.

Helped organize, host, and run, the Summer of Nix Lecture Series 2022

- https://www.youtube.com/playlist?list=PLt4-_lkyRrOMWyp5G-m_d1wtTcbBaOxZk
- NixOS/infra#213

Helped organize, and host infra for, the Summer of Nix Lecture Series 2023

- https://www.youtube.com/playlist?list=PLt4-_lkyRrOPcBuz_tjm6ZQb-6rJjU3cf
- NixOS/infra#240

Helped organize, host, and was responsible for livestreaming infra during, NixCon Paris 2022

- https://www.youtube.com/playlist?list=PLgknCdxP89ReD6gxl755B6G_CI65z4J2e

Maintenance of some nixpkgs packages

- NixOS/nixpkgs#340223 (contribution after 2024-05-01)
- NixOS/nixpkgs#290084
- NixOS/nixpkgs#170089

Organized, and assembled a team for the FOSDEM 2023 Nix/NixOS Devroom

- https://discourse.nixos.org/t/fosdem-2023-nix-and-nixos-devroom/23133

Organizer & sole maintainer of the Config Management Camp Nix track

- https://discourse.nixos.org/t/config-management-camp-2023-ghent/23455
- https://discourse.nixos.org/t/config-management-camp-2024-ghent/33852
- https://discourse.nixos.org/t/cfgmgmtcamp-2025-is-looking-for-nix-presentations/51658 (contribution after 2024-05-01)

Public speaking & spreading awareness of Nix/NixOS

- https://youtu.be/gUjvnZ9ZwMs?si=nDiZTCpQj53wwq8P
- https://www.youtube.com/watch?v=hNcYPH5Q_pA&t=862s

The occasional dabble into the Nix C++ code base

- NixOS/nix#11494 (contribution after 2024-05-01)
- NixOS/nix#11490 (contribution after 2024-05-01)
- NixOS/nix#11489 (contribution after 2024-05-01)
- NixOS/nix#11349 (contribution after 2024-05-01)
- NixOS/nix#11241 (contribution after 2024-05-01)
- NixOS/nix#9557
- NixOS/nix#8788
- NixOS/nix#8212
- NixOS/nix#5147

General evangelism

Pretty much every event I attend, I'm talking about Nix, showing off Nix/NixOS, and just trying to get people to see how awesome this tool is.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug macos Nix on macOS, aka OS X, aka darwin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fetchTree has inconsistent behavior between Linux and Darwin (libarchive behavior)
3 participants