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

nix: fix deprecation warning #438

Closed lucc closed 2 years ago

lucc commented 2 years ago

I want to try using purebred with nix flakes. This came up because my nixpkgs is from the unstable branch and the stdenv.lib does not exist there any longer.

I ran nix-build on this branch to check that the move to lib was already possible on the nixpkgs commit you are pinning in .nix/nixpkgs.nix and it works.

Quick question: are you interested to switch the nix support to flakes? After all you are already implementing one of its features with nixpkgs pinning by hand. I have not investigated any further implications but I could open a PR.

romanofski commented 2 years ago

Great work @lucc ! Was totally overdue :) To your question: I'd totally welcome the move to nix flakes.