Closed romanofski closed 2 years ago
@romanofski merge this when you feel it's ready. I lack the knowledge of nix to provide any feedback at all.
I disabled the normal nix build for now causing cabal install to not be able to find word-wrap
even tho it's built. Not exactly sure what causes the difference to the new method of building nix packages (nix flake), but I'm also a bit over it so I merge this now and may have a look into this later.
We currently define sources to build purebred in nix in different files. Both keep around redundant information found in both. Since nix flakes is still experimental, we didn't want to make
nix develop
the default when building the nix package. So we kept the oldernix-build
around which also defined overlays etc.Instead simplify everything by defining a single source of truth in
overlays
which is then used by two methods of building in nix: the oldnix-build
way and the newernix build
.