summary refs log tree commit diff
path: root/pkgs/applications/misc/zathura/builder.sh
blob: 9ca45b2cc992157dcd72c9a85802e4158ae73c17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
source $stdenv/setup

mkdir -pv $out/bin/

cat > $out/bin/zathura <<EOF
#!/bin/sh
exec $zathura --plugins-dir=$plugins_path "\$@"
EOF

chmod 755 $out/bin/zathura