sol / tinc

A dependency manager for Haskell
MIT License
97 stars 15 forks source link

nix-way: Allow `http-transport: curl` #70

Closed sol closed 6 years ago

sol commented 6 years ago

Currently this doesn't work, as we probably don't bring curl into scope.

sol commented 6 years ago

As a workaround, comment out http-transport: curl in ~/.cabal/config.

sol commented 6 years ago

Currently we run the following command:

nix-shell -p 'haskellPackages.ghcWithPackages (p: [ p.cabal-install ])' --pure --run 'cabal install --dry-run --only-dependencies --enable-tests'

What I think we want to do is modify that command so that curl is in scope. My nix-fu is pretty non-existing, so if anybody can point out how to achieve this, that would be very much appreciated.

@robbinch any input?

sol commented 6 years ago

Figured it out, never mind!