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
gocryptfs: 1.6.1 -> 1.7 #64614
gocryptfs: 1.6.1 -> 1.7 #64614
Conversation
@worldofpeace: Hello, as you're the one who have merged the last gocryptfs update, |
@GrahamcOfBorg build gocryptfs |
@GrahamcOfBorg build gocryptfs building again for darwin |
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'm generating a different deps.nix
locally.
The process I've done to do this was
- checkout
gocryptfs
repo locally $ git checkout v1.7
$ dep2nix
Here's a gist of the diff
Additionally the build fails on darwin
.
This patch upstream should fix this rfjakob/gocryptfs@b1468a7 (please use fetchpatch
in patches
)
Thx. About the And I'm not sure if the thing with the |
@GrahamcOfBorg build gocryptfs |
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 patch we fetched unfortunately touched the lock file, so it won't apply.
What we can do is modify the patch by deleting the hunk that touches that file,
and having it locally in nixpkgs.
@GrahamcOfBorg build gocryptfs |
I'm exited. There was a lot I've learned until now in this little update. |
I'm glad you're excited. It's a secret that most nixpkgs reviewers are little mentors 😄 In the push I fixed a little tricky thing where we have to manually update the |
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.
LGTM, giving approval early since there's the last nitpick
This pull request has been mentioned on Nix community. There might be relevant details there: |
@cw789 I can merge this it just needs to be squashed into one commit |
@cw789 I think the best way to deal with "on next update do xyz" type of comments is to put them on the Doesn't matter in this case, since the patch will fail to apply on update anyway. Just general advice for the future. |
- Use pname instead of name - Add patch for Darwin build
@timokau: Thank you, for this advice. @worldofpeace: I think I've made it. |
@cw789 Thanks for doing this ✨ |
Notes for a future gocryptfs updates
fix-unix2syscall_darwin.go-build-failure.patch
patches
withindefault.nix
Motivation for this change
Just a minor package version update.
By the way, I haven't worked with go packages before.
This thing with
deps2nix
is for a noob as me a bit complicated to just update a package.Not jet tested, as I still have not a practicable workflow for this here on my side.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)