-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
mpvScripts.autosub: init at 2021-06-29 #356158
Conversation
Currently failing test is due to my entry from |
Encapsulation. |
39bc311
to
d2617ee
Compare
Encapsulation.
lib.getExe will pick the executable from `outputBin`. And `outputBin` can assume different paths according to the derivation, especially in split outputs.
Thanks for the kind explanation, I changed it to use `lib.getExe'`.
|
d2617ee
to
b60e3c6
Compare
I've found the answer to the other question here. |
b60e3c6
to
d4bb05b
Compare
d4bb05b
to
aed1b3c
Compare
Alright, suggestions are applied, thanks for the feedback & explanation!
|
Depending on your progress with #354823, you could also cherry-pick the maintainer add commit onto here. It won't cause merge conflicts, and if you rebase either PR after the other is merged, the duplicate commit will silently disappear. |
aed1b3c
to
8a8e349
Compare
Depending on your progress with #354823, you could also cherry-pick the [maintainer add](0f27402) commit onto here. It won't cause merge conflicts, and if you rebase either PR after the other is merged, the duplicate commit will silently disappear.
Wow, that is great to know. Finally I get to use the `cherry-pick`.
Thank you for the kind tip!
|
Add
mpvScripts.autosub
, resolves #336986.Took the discussion over at the linked issue, and other mpvScripts as basis.
Couple of questions to whom might review this:There are usage ofpassthru.updateScript
on other scripts, what is the bestpractice for this?
In a similar manner I saw uses of
lib.getExe
for dependencies onsubstituteInPlace
like here. What is the point of using it rather than adirect path?
The latter seems more safe (or exact) to me, therefore I opted for usingit. But I would like to know if there is a best practice and/or the logic
behind using
lib.getExe
.Cheers!
Credits to @jcaesar for supplying an initial version at the discussion
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/
)Add a 👍 reaction to pull requests you find important.