Skip to content

Failed to extract archive error for 6.6.47 kernel package #70

Answered by mroi
mroi asked this question in Q&A
Discussion options

You must be logged in to vote

I believe this issue is caused by me extracting to a case-insensitive file system. Extracting a Linux kernel can fail, because it contains files whose names differ only in case.

I was running this on a macOS machine. My Nix store is already situated on a case-sensitive volume, but since the kernel source is an input to the flake, I believe the download is first staged in $TMPDIR, which pointed to my case-insensitive default data volume. Changing $TMPDIR to point to a case-sensitive directory fixes the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mroi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant