sqitch: fix on Darwin

Fixes #30389.
wip/yesman
Matthew Bauer 7 years ago
parent 06fc476bc6
commit b5610ed3f0
  1. 6
      pkgs/development/tools/misc/sqitch/default.nix

@ -11,7 +11,11 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin
for d in bin/sqitch etc lib share ; do
ln -s ${sqitchModule}/$d $out/$d
# make sure dest alreay exists before symlink
# this prevents installing a broken link into the path
if [ -e ${sqitchModule}/$d ]; then
ln -s ${sqitchModule}/$d $out/$d
fi
done
'';
dontStrip = true;

Loading…
Cancel
Save