@otini Check out nixpkgs repo, create new branch, modify the Nix-expression, specify that your nixpkgs tree for nix-env (-I)?
@amiloradovsky Which expression should I modify to ignore an update? 😐
@otini I have exactly zero experience with Cabal, so I probably can't help with that.
@otini Have you considered Stack?
@kwarrtz Yes, but I favor Nix's haskellPackages over Stack because haskellPackages contains binaries, so I don't have the long compilation times 🙂 it's weird, by the way, to have a Cabal error if I'm not supposed to compile anything… 🤔
@otini Binaries are indeed a time saver :) I’m afraid I don’t know enough about haskellPackages to offer much specific help, but would it be possible to build gtk2hs from source and link into it directly in your project?
Cabal, Nix, organised confusion
> So I take it you understand something in compiling an existing cabal project with the newest changes in cabal ?
Not really, I stopped developing industrial software in Haskell around the time when breaking changes were introduced into cabal 😕
> Can we now write nix derivation instead of .cabal files?
Err, to my knowledge the integration of Haskell into Nix is not that good yet.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!