Skip to content

Improve ACL clearing support (fixing FreeBSD build)#9491

Merged
edolstra merged 1 commit intoNixOS:masterfrom
obsidiansystems:fix-freebsd
Nov 30, 2023
Merged

Improve ACL clearing support (fixing FreeBSD build)#9491
edolstra merged 1 commit intoNixOS:masterfrom
obsidiansystems:fix-freebsd

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
@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