From 01d84d1aef9d7778883e9ca9e9d24decd66cd21f Mon Sep 17 00:00:00 2001 From: satoqz Date: Sun, 11 Dec 2022 20:31:46 +0100 Subject: [PATCH] sioyek: link binary on darwin sioyek provides a cli interface, yet on darwin the binary is not linked to `$out/bin` --- pkgs/applications/misc/sioyek/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/sioyek/default.nix b/pkgs/applications/misc/sioyek/default.nix index bfa0fb1d5055..2cd85b5fd4e4 100644 --- a/pkgs/applications/misc/sioyek/default.nix +++ b/pkgs/applications/misc/sioyek/default.nix @@ -62,8 +62,9 @@ stdenv.mkDerivation (finalAttrs: { cp pdf_viewer/keys_user.config sioyek.app/Contents/MacOS/ cp tutorial.pdf sioyek.app/Contents/MacOS/ - mkdir -p $out/Applications + mkdir -p $out/Applications $out/bin cp -r sioyek.app $out/Applications + ln -s $out/Applications/sioyek.app/Contents/MacOS/sioyek $out/bin/sioyek '' else '' install -Dm644 tutorial.pdf $out/share/tutorial.pdf cp -r pdf_viewer/shaders $out/share/