Skip to content

Test failures when building in Nix #120

Answered by arxanas
hmenke asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @hmenke, thanks for your work in packaging git-branchless into Nix! Actually, if it's possible, we could add Nix as a target platform to check in CI, so that we can surface these errors earlier.

I'll have more time to look later this week.

From the error message, the cross-device errors seem to be happening when moving a file called rewritten-list to .git/rebase-merge/ as part of the rebase process. The intention was to populate it atomically. It's created with a tempfile library, so most likely what's happening is that /tmp (or whatever directory) is on another file system, so it can't actually be moved.

The fix would be to generate the temp file on the same file system. Perhaps the t…

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@hmenke
Comment options

hmenke Oct 14, 2021
Collaborator Author

@arxanas
Comment options

@arxanas
Comment options

@hmenke
Comment options

hmenke Oct 17, 2021
Collaborator Author

@arxanas
Comment options

Answer selected by arxanas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants