Open damncabbage opened 8 years ago
nice
good buddy plink
makes the mess https://github.com/ambiata/mafia/blob/master/src/Mafia/Bin.hs#L85
not sure if we understand InstallPackage
as anything besides 'a string that cabal accepts'. might want to use a more constrained parser here https://github.com/ambiata/mafia/blob/master/main/mafia.hs#L190
not sure if we understand InstallPackage as anything besides 'a string that cabal accepts'. might want to use a more constrained parser here https://github.com/ambiata/mafia/blob/master/main/mafia.hs#L190
Yeah this is awful, my bad :(
The following commands all work to install
purescript
version 0.8.5.0:env MAFIA_HAPPY=true MAFIA_ALEX=true support/purs/bin/mafia install purescript
env MAFIA_HAPPY=true MAFIA_ALEX=true support/purs/bin/mafia install 'purescript == 0.8.5.0'
env MAFIA_HAPPY=true MAFIA_ALEX=true support/purs/bin/mafia install purescript-0.8.5.0
env MAFIA_HAPPY=true MAFIA_ALEX=true support/purs/bin/mafia install 'purescript == 0.8.5.*'
Two things:
purescript == ...
-style version constraints are getting passed through to Cabal, intentionally or otherwise.purescript-0.8.5.0
andpurescript == 0.8.5.*
despite them both resolving to the same version and there being no newer release of purescript.With that aforementioned sequence, the following symlinks appear in
~/.ambiata/mafia/bin/
:(Yes, those are directory names with spaces in them.)