inlyne: install .desktop file (#429131)
This commit is contained in:
@@ -50,12 +50,16 @@ rustPlatform.buildRustPackage rec {
|
||||
"--skip=watcher::tests::the_gauntlet"
|
||||
];
|
||||
|
||||
postInstall = lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd inlyne \
|
||||
--bash completions/inlyne.bash \
|
||||
--fish completions/inlyne.fish \
|
||||
--zsh completions/_inlyne
|
||||
'';
|
||||
postInstall =
|
||||
lib.optionalString (stdenv.buildPlatform.canExecute stdenv.hostPlatform) ''
|
||||
installShellCompletion --cmd inlyne \
|
||||
--bash completions/inlyne.bash \
|
||||
--fish completions/inlyne.fish \
|
||||
--zsh completions/_inlyne
|
||||
''
|
||||
+ ''
|
||||
install -Dm444 assets/inlyne.desktop -t $out/share/applications
|
||||
'';
|
||||
|
||||
postFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
|
||||
patchelf $out/bin/inlyne \
|
||||
|
||||
Reference in New Issue
Block a user