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
memo: refactoring dependency paths #34867
Conversation
@@ -15,6 +15,9 @@ stdenv.mkDerivation rec { | |||
|
|||
installPhase = '' | |||
mkdir -p $out/{bin,share/man/man1,share/bash-completion/completions} | |||
substituteInPlace memo \ | |||
--replace "ack " "${ag}/bin/ag " \ | |||
--replace "tree" "${tree}/bin/tree " |
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 match contains no space yet the substitution does. I expect this makes no practical difference, but just in case ... (or perhaps it's intentional?)
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.
No it was not intentional. I fixed it.
c833a95
to
22fa6bb
Compare
@GrahamcOfBorg build memo |
Success on x86_64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on aarch64-linux (full log) Partial log (click to expand)
|
Motivation for this change
The previous version did not replace the dependent binary paths in the program. This one does and uses
ag
instead ofack
for speed reasons.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)