-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
jdupes: init at 1.8 #26920
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
jdupes: init at 1.8 #26920
Conversation
@romildo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @oxij, @MarcWeber and @maggesi to be potential reviewers. |
@romildo this failed on darwin due to unicode normalization. I pushed a commit that should fix the hash problem, let's see what travis says... |
On Darwin
|
Should there not be an alias with a deprecation warning? |
How significant is this package? Using an alias can offer a smoother transition but how many people use this package and is it worth going through that extra effort (how little it is) |
@romildo can you make this PR only about
|
@c0bw3b Done. |
Thanks! You missed @bennofs workaround to avoid src hash being different on Darwin (testdir subdirectories contains unicode characters in their names) : src = fetchFromGitHub {
owner = "jbruchon";
repo = "jdupes";
rev = "v${version}";
sha256 = "0nswqylzgpgqgcfgl99dkrcs05zxpzj5dcla2ib9mywl4xavszax";
postFetch = "$unpackCmd $downloadedFile && rm -r ${name}/testdir";
}; Also BTRFS support should be enabled on Linux platforms only : makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optional stdenv.isLinux "ENABLE_BTRFS=1"; |
Sorry. Fixed now. |
@bennofs The attribute postFetch = "$unpackCmd $downloadedFile && rm -r ${name}/testdir"; in
It seems that |
I think removing the src = fetchFromGitHub {
owner = "jbruchon";
repo = "jdupes";
rev = "v${version}";
sha256 = "17cgh3j6z4rl8ay06s8387a2c49awfv1w3b2a11z4hidwry37aiq";
# Unicode file names lead to different checksums on HFS+ vs. other
# filesystems because of unicode normalisation. The testdir
# directories have such files and will be removed.
extraPostFetch = "rm -r $out/testdir";
}; |
Ah yes you are right it is much nicer this way. |
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.
Now it builds everywhere!
Motivation for this change
Rename fromfdupes
tojdupes
. The repositoryfdupes-jody
previouslyused does not exist anymore. The fork has been renamed to
jdupes
.Update to version 1.8.Add
jdupes
to the package collection.ChangesRelease notesThings 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/
)