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

Improve ACL clearing support (fixing FreeBSD build) #9491

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

Ericson2314
Copy link
Member

Motivation

The problem was that f880469 forgot that the #include <sys/xattr.h> was guarded by an #ifdef __linux__.

However, the build failure was only on FreeBSD --- turns out other platforms have this header too!

Context

f880469 is from #9394

Priorities

Add 👍 to pull requests you find important.

The problem was that f880469 forgot
that the `#include <sys/xattr.h>` was guarded by an `#ifdef __linux__`.

However, the build failure was only on FreeBSD --- turns out other
platforms have this header too!

The fix therefore uses a new configure check so we properly clear ACLs
on more platforms.
@github-actions github-actions bot added the store Issues and pull requests concerning the Nix store label Nov 30, 2023
@edolstra edolstra merged commit eac0a62 into NixOS:master Nov 30, 2023
8 checks passed
@Ericson2314 Ericson2314 deleted the fix-freebsd branch November 30, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
store Issues and pull requests concerning the Nix store
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants