cabal-delete
cabal-delete copied to clipboard
Feature req: sandbox environment
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
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.
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 ?
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!