Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Immich-go is a cross-platform Go program that allows bulk-uploading pictures/videos to immich.
It supports importing data from Google photo takeout archives and is recommended/endorsed by the official immich documentation.
But, it is not limited to Google Photos and can iterate over directory trees and zip archives as well.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)I have one Go-specific nixpkgs question. What is 'official' stance on these linked variables in
ldflags
, like"-X main.commit=${version}"
?As a user, I find it a bit confusing if the output of the
commit
value refers to the version and if the date refers to either a string or UNIX timestamp 0. I have seen that thepdfcpu
package is forced to fix the output as upstream checks for these values, but it doesn't seem that this option is generally preferred within nixpkgs.nixpkgs/pkgs/applications/graphics/pdfcpu/default.nix
Lines 12 to 32 in 311fab9
So would it be bad style if I apply the same patching logic as used in
pdfcpu
just because I personally find it more "accessible"?PS: It is my first time contributing a package. I have tried reading all the relevant documentation, but I could've easily missed something. Let me know how I can improve it!
Add a 👍 reaction to pull requests you find important.