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
extract_url: init at 1.6.2 #45624
extract_url: init at 1.6.2 #45624
Conversation
@GrahamcOfBorg build extract_url |
Failure on x86_64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: extract_url Partial log (click to expand)
|
Looks like there's a few path patches needed. :) |
Failure on aarch64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
Maybe something like:
|
Fixed! And tested with the sandbox on this time. |
@GrahamcOfBorg build extract_url |
Success on x86_64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: extract_url Partial log (click to expand)
|
makeFlags = "prefix=$(out)"; | ||
|
||
postPatch = '' | ||
substituteInPlace Makefile --replace /usr/bin/install install |
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.
Would not adding INSTALL=install
to makeFlags
work? It seems to be defined here https://github.com/m3m0ryh0l3/extracturl/blob/422c3c26f7c50b09de6d53748c25d3c905b890d3/Makefile#L71
version = "1.6.2"; | ||
|
||
nativeBuildInputs = [ PodChecker makeWrapper ]; | ||
propagatedBuildInputs = [ perl ] ++ perlDeps; |
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.
Why propagate these?
Success on aarch64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
}; | ||
|
||
meta = with lib; { | ||
homepage = "https://www.memoryhole.net/~kyle/extract_url/"; |
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.
Plain URLs are preferred unquoted.
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 didn't know Nix could do that. Nice! :)
nativeBuildInputs = [ PodChecker makeWrapper ]; | ||
buildInputs = [ perl ] ++ perlDeps; | ||
|
||
makeFlags = "prefix=$(out)"; |
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.
These should probably be lists (see #44423)
This seems not to be necessary after all.
@GrahamcOfBorg build extract_url |
Success on x86_64-darwin (full log) Attempted: extract_url Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: extract_url Partial log (click to expand)
|
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)