# Another simple flake for Haskell development

**URL:** https://discourse.nixos.org/t/another-simple-flake-for-haskell-development/18164
**Category:** Help
**Created:** [March 13, 2022, 8:18am UTC](https://discourse.nixos.org/t/another-simple-flake-for-haskell-development/18164 "2022-03-13T08:18:59Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![cdepillabout](https://discourse.nixos.org/user_avatar/discourse.nixos.org/cdepillabout/32/410_2.png) [@cdepillabout](https://discourse.nixos.org/u/cdepillabout)
#### Post date: [March 15, 2022, 12:22am UTC](https://discourse.nixos.org/t/another-simple-flake-for-haskell-development/18164/6 "2022-03-15T00:22:15Z")

</div>

> [@mhwombat](#):
>
> However, it seems to have the same [issue](https://github.com/NixOS/templates/issues/28) as the default Haskell template.

I feel like that is more of an issue with flakes, rather than an issue with the default Haskell template:

> <https://github.com/NixOS/nix/pull/5253>
>
> Import-from-derivation is a controversial feature because it can cause arbitrary… amounts of building when running commands like \`nix flake show\`. It's better to disallow it now and re-enable it in a future version than the other way around.
> 
> This PR disables IFD for the folliowing operations:
> 
> \* \`nix search\` (this was already implied by read-only mode)
> \* \`nix flake show\`
> \* \`nix flake check\`, but only on the hydraJobs output

You can see that there was a bunch of push-back from that, mostly from Haskellers.

I have a little more explanation here: ["'allow-import-from-derivation' is disabled" error · Issue #34 · purenix-org/purenix · GitHub](https://github.com/purenix-org/purenix/issues/34#issuecomment-981290387)

---

_[View the full topic](https://discourse.nixos.org/t/another-simple-flake-for-haskell-development/18164)._
