From 1bc1ddcda0d7dec6d9fea739651903fecc705d71 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 22 Mar 2014 12:28:31 +0100 Subject: [PATCH] haskell-unix-time: fix test suite in shared library build https://github.com/kazu-yamamoto/unix-time/issues/20 --- pkgs/development/libraries/haskell/unix-time/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/libraries/haskell/unix-time/default.nix b/pkgs/development/libraries/haskell/unix-time/default.nix index 0ca4ea5f5c24..e329c1ef4067 100644 --- a/pkgs/development/libraries/haskell/unix-time/default.nix +++ b/pkgs/development/libraries/haskell/unix-time/default.nix @@ -5,6 +5,7 @@ cabal.mkDerivation (self: { version = "0.2.2"; sha256 = "0xnl12mscc5nwjl9s2lx4xr8q8agzcpxh3bmxxidfjrg19drfwrm"; testDepends = [ doctest hspec QuickCheck time ]; + configureFlags = self.stdenv.lib.optionalString self.enableSharedLibraries "--ghc-option=-fPIC"; meta = { description = "Unix time parser/formatter and utilities"; license = self.stdenv.lib.licenses.bsd3;