We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dc282b + ec7beb4 commit f488491Copy full SHA for f488491
default.nix
@@ -2,6 +2,7 @@
2
# the names here can clash with non-haskell dependencies
3
# make sure to specify the names the explicitly that may be clashing
4
{ callPackage
5
+, mkDerivation
6
, nix-gitignore
7
, makeWrapper
8
, hello
release.nix
@@ -10,6 +10,9 @@ in
10
rec {
11
library = drv;
12
application = drv;
13
+ # justStaticExecutables applies static linking to haskell libraries.
14
+ # System libraries are still dynamically linked.
15
+ applicationStatic = pkgs.haskell.lib.justStaticExecutables drv;
16
docker = dockerTools.buildImage {
17
name = application.name;
18
contents = application;
0 commit comments