mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
qownnotes: 24.4.1 -> 24.4.2
This commit is contained in:
parent
6bffef7a1a
commit
0bc4989d4a
@ -21,14 +21,14 @@
|
||||
let
|
||||
pname = "qownnotes";
|
||||
appname = "QOwnNotes";
|
||||
version = "24.4.1";
|
||||
version = "24.4.2";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit pname version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/pbek/QOwnNotes/releases/download/v${version}/qownnotes-${version}.tar.xz";
|
||||
hash = "sha256-E4tLlzjIOElsZr2jcbsnge5jJqKQ0kWf86tFonZ1+Zs=";
|
||||
hash = "sha256-HnWxIcOy7Te6Q5YfZYhvITpfsgeQw8Tt/Nr++wcpxEU=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
@ -55,11 +55,11 @@ stdenv.mkDerivation {
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd ${appname} \
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish)
|
||||
installShellCompletion --cmd ${pname} \
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash --allow-multiple-instances) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish --allow-multiple-instances)
|
||||
--bash <(xvfb-run $out/bin/${appname} --completion bash) \
|
||||
--fish <(xvfb-run $out/bin/${appname} --completion fish)
|
||||
''
|
||||
# Create a lowercase symlink for Linux
|
||||
+ lib.optionalString stdenv.isLinux ''
|
||||
|
Loading…
Reference in New Issue
Block a user