purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

Refactor and simplify nix sources #462

Closed romanofski closed 2 years ago

romanofski commented 2 years ago

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 older nix-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 old nix-build way and the newer nix build.

frasertweedale commented 2 years ago

Nix is your department so I'll just wave this through :)

romanofski commented 2 years ago

Oh @frasertweedale you were too quick with this one :D