Lix cannot build on store backed by ZFS datasets without acltype=posixacl #1105

Open
opened 2026-01-23 16:57:55 +00:00 by raito · 1 comment
Owner

Since we merged the xattrs support, Lix cannot build anymore on store backed by ZFS datasets without acltype=posixacl.

This surfaces as:

building '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv'...
setfacl: /nix/store/afqli2a47b29cc6lhz50yhhpnnzvcn79-xattrs-under-directory-output/test: Not supported
error: builder for '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv' failed with exit code 1

We should probably improve the detection code for ACL/xattrs support.

Reported by @lheckemann

Since we merged the xattrs support, Lix cannot build anymore on store backed by ZFS datasets without acltype=posixacl. This surfaces as: ``` building '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv'... setfacl: /nix/store/afqli2a47b29cc6lhz50yhhpnnzvcn79-xattrs-under-directory-output/test: Not supported error: builder for '/nix/store/4k10hrr912jib3w2hxdxdlcc3a8y068x-xattrs-under-directory-output.drv' failed with exit code 1 ``` We should probably improve the detection code for ACL/xattrs support. Reported by @lheckemann
raito added this to the 2.95 milestone 2026-01-23 16:58:14 +00:00
Author
Owner

@tom-hubrecht reports this is also broken on btrfs.

@tom-hubrecht reports this is also broken on btrfs.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lix-project/lix#1105
No description provided.