Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sqitch: fix on Darwin #30403

Merged
merged 1 commit into from Oct 15, 2017
Merged

sqitch: fix on Darwin #30403

merged 1 commit into from Oct 15, 2017

Conversation

matthewbauer
Copy link
Member

Fixes #30389.

@@ -11,7 +11,9 @@ stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/bin
for d in bin/sqitch etc lib share ; do
ln -s ${sqitchModule}/$d $out/$d
if [ -e ${sqitchModule}/$d ]; then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment or something? Otherwise it is not obvious why a condition is here.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah sure. The point is to prevent a share symlink from being created when it’s destination doesn’t exist (resulting in a collision).

Copy link
Member

@Mic92 Mic92 Oct 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, just a reference, that this happens on darwin.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure this is not darwin specific.

@LnL7 LnL7 merged commit 210731c into NixOS:master Oct 15, 2017
@LnL7 LnL7 added the 8.has: port to stable A PR already has a backport to the stable release. label Oct 15, 2017
@matthewbauer matthewbauer deleted the sqitch-fix branch February 22, 2019 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: port to stable A PR already has a backport to the stable release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants