lspitzner / brittany

haskell source code formatter
GNU Affero General Public License v3.0
690 stars 72 forks source link

Simplify Nix expressions #326

Closed expipiplus1 closed 3 years ago

expipiplus1 commented 3 years ago

This uses developPackage from nixpkgs to generate the derivation

Also bump the pinned nixpkgs version

Also add CI for nix build

Opened against the ghc 8.10 branch because it includes those changes.

expipiplus1 commented 3 years ago

On the topic of Nix expressions:

Would something like this be useful: https://github.com/expipiplus1/vector-sized/pull/102/files

Basically it'll automatically tag commits (on the main branch) which bump the version and push the tags. Additionally it'll create a release (tarballs of source and docs) to push to Hackage.

CC @lspitzner I know you were after some nix help in the past

tfausak commented 3 years ago

Sorry, I didn't mean to close this. I thought GitHub was supposed to rebase PRs when you delete a branch. Please re-open this against the master branch. Thanks!