static-haskell-nix
static-haskell-nix copied to clipboard
easily build most Haskell programs into fully static Linux executables
This PR bumps nixpkgs to the version that's used for PostgREST's static-haskell-nix-based static build, and includes the patches to `survey.nix` used there. Primary aim of the PR is to -...
I got this example segfault of somebody trying to use an executable statically linked with glibc and using the network. The stacktrace is of the program crashing in `gdb`; `stack...
This updates `default.nix` to be compatibles with `nixpkgs.nix`. Locally, this fixes `nix-build --no-link`. (Well, it makes it not fail right away, still compiling as I write.)
It would be nice if this minimal example was updated to work. ``` ➜ NIX_PATH=nixpkgs=nixpkgs nix-build --no-link error: attribute 'ghc864' missing at /home/solomon/Development/Nix/static-haskell-nix/default.nix:35:27: 34| 35| normalHaskellPackages = pkgs.haskell.packages.${compiler}; | ^...
Hi there. I am trying to build a small stack project ([here](https://github.com/m-col/gitserve/tree/static), 'static' branch) following the example project. Unfortunately when I try to build, I get this error: ``` ......
This PR bumps to nixpkgs-21.11 (https://github.com/NixOS/nixpkgs/commit/573095944e7c1d58d30fc679c81af63668b54056), which contains LTS-18.17 and uses ghc-8.10.7. This PR fixes or disables all the packages in `working` and `workingStackageExecutables`, so `ci.nix` should succeed.
Enable SDL
When I try to build postgresql (version 13), two tests `collate.icu.utf8` and `foreigndata` fail. I noticed that the alpine repos have a [patch](https://git.alpinelinux.org/aports/tree/main/postgresql?h=master) to disable the `collate.icu.utf8` which is perhaps...
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...
I'm trying to build a Haskell executable ([Termonad](https://github.com/cdepillabout/termonad)) statically that uses [gi-gtk](http://hackage.haskell.org/package/gi-gtk), which is built using [haskell-gi](https://github.com/haskell-gi/haskell-gi) and depends on `gtk+3`. It appears to be failing when building `systemd`. Termonad...