cbqn-standalone: fix installPhase on darwin

This commit is contained in:
Robert Scott 2021-11-15 21:06:16 +00:00 committed by sterni
parent 5e15d5da4a
commit e30f006b3c

View File

@ -52,8 +52,9 @@ stdenv.mkDerivation rec {
mkdir -p $out/bin/
cp BQN -t $out/bin/
ln -s $out/bin/BQN $out/bin/bqn
ln -s $out/bin/BQN $out/bin/cbqn
# note guard condition for case-insensitive filesystems
[ -e $out/bin/bqn ] || ln -s $out/bin/BQN $out/bin/bqn
[ -e $out/bin/cbqn ] || ln -s $out/bin/BQN $out/bin/cbqn
runHook postInstall
'';