nh2 / nh2/static-haskell-nix

How do I actually use this?

Aberta
#88 9 comentários 6 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Nix
Estrelas
401
Forks
36
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

I have a Haskell program that I would like to build statically with Nix. [I currently link with glibc](https://github.com/diku-dk/futhark/blob/master/default.nix), which has the usual problems, so I'm quite interested in linking with Musl instead. But while I use Nix and NixOS, I'm afraid I don't quite understand the instructions here. The only clear example I can find of how to link my own, single package against musl is [the minimal example](https://github.com/nh2/static-haskell-nix/blob/master/default.nix), which I am told not to use in practice. Apart from that, the documentation points me at [survey/default.nix](https://github.com/nh2/static-haskell-nix/blob/master/survey/default.nix), which is a 1300 line .nix file, and encourages me to "easily import this functionality and add an override to add your own packages". I've tried reading the code, but I'm afraid I have no idea what is going on, or how to make use of it.

Is there a simple example of how to use this somewhere?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.