You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often when developing Haskell with nix, we want to specify cabal flags. There's currently haskell.lib.(en/dis)ableCabalFlag, but this can't change the build inputs, which causes frustrating breakages. The solution to this is to pass the flag to cabal2nix. haskellSrc2nix already has the extraCabal2nixOptions parameter, which does exactly this, but there's no way to prapogate this from callCabal2nix.
The text was updated successfully, but these errors were encountered:
Issue description
Often when developing Haskell with nix, we want to specify cabal flags. There's currently
haskell.lib.(en/dis)ableCabalFlag
, but this can't change the build inputs, which causes frustrating breakages. The solution to this is to pass the flag tocabal2nix
.haskellSrc2nix
already has theextraCabal2nixOptions
parameter, which does exactly this, but there's no way to prapogate this fromcallCabal2nix
.The text was updated successfully, but these errors were encountered: