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
img2pdf init at 0.3.1 #44833
img2pdf init at 0.3.1 #44833
Conversation
Success on x86_64-linux (full log) Attempted: img2pdf, pdftk Partial log (click to expand)
|
Unexpected error: command failed with exit code 1 on aarch64-linux (full log) Attempted: img2pdf, pdftk Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: img2pdf, pdftk Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: img2pdf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: img2pdf Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: img2pdf Partial log (click to expand)
|
@@ -0,0 +1,25 @@ | |||
{ stdenv, buildPythonApplication, fetchPypi, python3Packages }: |
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.
{ stdenv, python3Packages }
is sufficient. You can access the others as python3Packages.fetchPypi
and python3Packages.buildPythonApplication
.
pkgs/top-level/all-packages.nix
Outdated
@@ -16856,6 +16856,10 @@ with pkgs; | |||
|
|||
inherit (nodePackages) imapnotify; | |||
|
|||
img2pdf = callPackage ../applications/misc/img2pdf { | |||
inherit (python3Packages) buildPythonApplication fetchPypi; |
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.
not necessary if you do as suggested above
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.
Ran it on one of my random photos and it worked 😄
Success on aarch64-linux (full log) Attempted: img2pdf Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: img2pdf Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: img2pdf Partial log (click to expand)
|
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)