diff options
| author | Julius Michaelis <gitter@liftm.de> | 2024-07-10 20:52:28 +0900 |
|---|---|---|
| committer | Julius Michaelis <gitter@liftm.de> | 2024-08-04 10:50:48 +0900 |
| commit | 6a9beaf893707ea2ce653dc2bacad484f084b5ad (patch) | |
| tree | 7df739aa273a8db9b759c324434fd7a79ca6540e /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | 59b930d820bbda1b1e83627088a45a689617581a (diff) | |
treewide: skip generating shell completions using $out/bin/… when cross compiling
This focuses on Rust packages, since the most commonly used argument
parser library (clap/structopt) makes the following pattern natural and
thus common:
postInstall = ''
installShellCompletion --cmd foo \
--bash <($out/bin/foo completion bash) \
…
This commit just guards those with
lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform)
splitting the string where unrelated actions are performed.
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
