sioyek: link binary on darwin
sioyek provides a cli interface, yet on darwin the binary is not linked to `$out/bin`
This commit is contained in:
parent
e163fe0984
commit
01d84d1aef
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue