nim: patch to fix dynamic library loading

This commit is contained in:
Emery Hemingway
2020-09-07 16:16:55 +02:00
committed by ehmry
parent a31736120c
commit 06ac3c1d2a
4 changed files with 57 additions and 4 deletions
@@ -28,6 +28,10 @@ stdenv.mkDerivation rec {
openssl pcre readline boehmgc sfml sqlite
];
patches = [ ./nixbuild.patch ];
postPatch = "echo define:nixbuild >> config/nim.cfg";
buildPhase = ''
runHook preBuild