Created
March 21, 2018 03:43
-
-
Save Wizek/36f6d5d9ff50e4ebc6c09121ee4b03c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{}: | |
(import ./reflex-platform {}).project ({ pkgs, ... }: { | |
packages = { | |
common = ./common; | |
backend = ./backend; | |
frontend = ./frontend; | |
}; | |
overrides = self: super: { | |
frontend = pkgs.haskell.lib.overrideCabal super.frontend (drv: { | |
enableSharedExecutables = false; | |
enableSharedLibraries = false; | |
configureFlags = [ | |
"--ghc-option=-optl=-static" | |
"--ghc-option=-optl=-L${pkgs.gmp6.override { withStatic = true; }}/lib" | |
"--ghc-option=-optl=-L${pkgs.zlib.static}/lib" | |
"--ghc-option=-optl=-L${pkgs.glibc.static}/lib" | |
]; | |
}); | |
}; | |
android.frontend = { | |
executableName = "frontend"; | |
applicationId = "org.example.frontend"; | |
displayName = "Example Android App"; | |
}; | |
ios.frontend = { | |
executableName = "frontend"; | |
bundleIdentifier = "org.example.frontend"; | |
bundleName = "Example iOS App"; | |
}; | |
shells = { | |
ghc = ["common" "backend" "frontend"]; | |
ghcjs = ["common" "frontend"]; | |
}; | |
}) |
Author
Wizek
commented
Mar 21, 2018
Cairo down. Full list of the rest:
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lwebkit2gtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgtk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpangocairo-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -latk-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lsoup-2.4
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -ljavascriptcoregtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lwebkit2gtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgtk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpangocairo-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -latk-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lsoup-2.4
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -ljavascriptcoregtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lsoup-2.4
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -ljavascriptcoregtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgtk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpangocairo-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -latk-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpangocairo-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -latk-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgirepository-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/snpnx6gdggvjpdig04n4q7x2yd1bgjbb-ghc-8.0.2/lib/ghc-8.0.2/rts/libHSrts_thr.a(Linker.thr_o): In function `internal_dlopen':
Linker.c:(.text+0x3b7): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
collect2: error: ld returned 1 exit status
`cc' failed in phase `Linker'. (Exit code: 1)
builder for ‘/nix/store/8a9vhzkx60d69abyksfk0bpskh09vhs1-frontend-0.1.0.0.drv’ failed with exit code 1
killing process 37186
cannot build derivation ‘/nix/store/ak3qinbz92rpqxhaxjx14g4xjz4gg0la-reflex-project.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/ak3qinbz92rpqxhaxjx14g4xjz4gg0la-reflex-project.drv’ failed
➜ reflex-project-skeleton-3 git:(master) ✗
That output is more daunting than it needs to be because of all the duplicates. Here are the unique lines:
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -latk-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgdk_pixbuf-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgio-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgirepository-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lglib-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgobject-2.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lgtk-3
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -ljavascriptcoregtk-4.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpango-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lpangocairo-1.0
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lsoup-2.4
/nix/store/912ia5vpf5ybcky2b6160x53c875hwvh-binutils-2.28.1/bin/ld: cannot find -lwebkit2gtk-4.0
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment