3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #205673 from satoqz/master

sioyek: link binary on darwin
This commit is contained in:
Weijia Wang 2023-02-02 06:25:25 +01:00 committed by GitHub
commit 080f7ce6ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/