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

Fail if cabal update fails #93

Merged
merged 1 commit into from
Feb 14, 2018
Merged

Fail if cabal update fails #93

merged 1 commit into from
Feb 14, 2018

Conversation

domenkozar
Copy link
Contributor

@domenkozar domenkozar commented Feb 14, 2018

Example:

$ touch ~/.cabal/packages/hackage.haskell.org/hackage-security-lock
$ ~/.local/bin/stack2nix .                                                                 
Ensuring git version is >= 2 ...                               
Ensuring cabal version is >= 2 ...
stack2nix: Failed with exit code 1...                                       
"/home/ielectric/.cabal/packages/hackage.haskell.org/hackage-security-lock: createDirectory: already e
xists (File exists)"                                                       
                                                                                   
CallStack (from HasCallStack):                                             
  error, called at src/Stack2nix/External/Util.hs:21:3 in stack2nix-0.1.3.1-HwgtPF9ZM2W8vYBIr0JOPS:Sta
ck2nix.External.Util                                     
                                      

fixes #92

@jmitchell jmitchell self-requested a review February 14, 2018 22:44
@jmitchell jmitchell merged commit b614c56 into master Feb 14, 2018
@jmitchell jmitchell deleted the issue-92 branch February 14, 2018 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cabal update can fail
2 participants