djview: link executable to $out/bin for darwin
This commit is contained in:
parent
9fedd72fb8
commit
b4c1179217
@ -61,6 +61,11 @@ stdenv.mkDerivation rec {
|
||||
lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
mkdir -p ${Applications}
|
||||
cp -a src/djview.app -t ${Applications}
|
||||
|
||||
mkdir -p $out/bin
|
||||
pushd $out/bin
|
||||
ln -sf ../Applications/djview.app/Contents/MacOS/djview
|
||||
popd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
Loading…
x
Reference in New Issue
Block a user