-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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
mergerfs: 2.16.1 -> 2.22.1 #26929
mergerfs: 2.16.1 -> 2.22.1 #26929
Conversation
deepClone = true; | ||
leaveDotGit = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I got a different sha256 and probably this option is the fault. Is it really required for the build?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
builds also without leaveDotGit
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fetchgit leaveDotGit
is implied by deepClone
anyway. I've added this line to remind me to set this flag when using nix-prefetch-git
which does not behave the same way.
The different sha256 are probably because I was using nix-prefetch-git
from 17.03. I've updated the hash using the latest unstable.
}; | ||
|
||
buildInputs = [ fuse pkgconfig which attr pandoc git ]; | ||
buildInputs = [ fuse pkgconfig which attr pandoc git autoconf automake libiconv libtool gettext ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nativeBuildInputs = [ autoreconfHook pkgconfig gettext libtool git gettext pandoc which ];
buildInputs = [ fuse attr libiconv ];
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The difference between nativeBuildInputs and buildinputs is still a bit opaque for me. There is an Issue to document it #1915 but it is open for 3 years now.
Why is it better to do the split here between nativeBuildInputs and buildInputs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I realized that since 2.22.0 mergerfs
comes bundled with fuse
which is why Autoconf et al. are now necessary. This however means that the autoreconfHook
cannot be applied here because mergerfs
itself does not use it as it is only needed for fuse
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@makefu native refers to the machine where the build occurs. In a cross-compilation scenario, programs executed at build time must be native to the build machine. In situations where host = build
the distinction does not matter, as all inputs are native either way.
b500086
to
9495295
Compare
9495295
to
8461e31
Compare
Motivation for this change
mergerfs: 2.16.1 -> 2.22.1
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)cc @makefu