cabal-delete icon indicating copy to clipboard operation
cabal-delete copied to clipboard

Feature req: sandbox environment

Open dunric opened this issue 11 years ago • 3 comments
trafficstars

Hello,

since Cabal 1.18 did introduced sandboxing for ghc packages do you plan to make cabal-delete aware of that ? Now cabal-delete ignores cabal.sandbox.config or GHC_PACKAGE_PATH environment setting or switch to set cabal config or add ghc-pkg paths. It would need to work with both sandboxed and global packages as they may be dependency related.

Take care

dunric avatar Aug 04 '14 08:08 dunric

Thank you for the idea. I had no plan to support Cabal sandbox, but I will consider it. Since I don't know how Cabal sandbox works, I am not sure it can be done soon.

If you have not checked, check https://github.com/kazu-yamamoto/cab, which has more features and supports Cabal sandbox, I think.

iquiw avatar Aug 04 '14 13:08 iquiw

You are right cab already does support sandboxes, however it does too much to my taste and I find cabal-delete a nice complement to cabal-install. cab supplies cabal-install functionality but to a limited degree, many features are missing and even cann't be propagated to cabal-delete itself.

If you are not going to add sandboxes support would you be interested for my pull request, after I'd play with it a bit ?

dunric avatar Aug 04 '14 13:08 dunric

If you are not going to add sandboxes support would you be interested for my pull request, after I'd play with it a bit ?

Sure!

iquiw avatar Aug 04 '14 13:08 iquiw