haskell-unix-time: fix test suite in shared library build

https://github.com/kazu-yamamoto/unix-time/issues/20
This commit is contained in:
Peter Simons 2014-03-22 12:28:31 +01:00
parent 5c3be05e90
commit 1bc1ddcda0

View File

@ -5,6 +5,7 @@ cabal.mkDerivation (self: {
version = "0.2.2"; version = "0.2.2";
sha256 = "0xnl12mscc5nwjl9s2lx4xr8q8agzcpxh3bmxxidfjrg19drfwrm"; sha256 = "0xnl12mscc5nwjl9s2lx4xr8q8agzcpxh3bmxxidfjrg19drfwrm";
testDepends = [ doctest hspec QuickCheck time ]; testDepends = [ doctest hspec QuickCheck time ];
configureFlags = self.stdenv.lib.optionalString self.enableSharedLibraries "--ghc-option=-fPIC";
meta = { meta = {
description = "Unix time parser/formatter and utilities"; description = "Unix time parser/formatter and utilities";
license = self.stdenv.lib.licenses.bsd3; license = self.stdenv.lib.licenses.bsd3;