git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #43422 from dtzWill/experimental/ghc-musl-misc-fixes

haskell-{unix-time,prettyprinter}: dontCheck on musl

commitee57cb3a2479d894ca407d32217bd4988482bf66 authorWill Dietz <github@wdtz.org> dateThu 12 Jul 2018, 12:06 (8 years ago) parent78381deba602b0
1 file changed+5
pkgs/development/haskell-modules/configuration-common.nix+5
pkgs/development/haskell-modules/configuration-common.nix+5
@@ -1095,4 +1095,9 @@ self: super: {
10951095 stylish-cabal = super.stylish-cabal.override { hspec = self.hspec_2_4_8; hspec-core = self.hspec-core_2_4_8; };
10961096 hspec_2_4_8 = super.hspec_2_4_8.override { hspec-core = self.hspec-core_2_4_8; hspec-discover = self.hspec-discover_2_4_8; };
10971097
1098+ # musl fixes
1099+ # dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test
1100+ unix-time = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.unix-time else super.unix-time;
1101+ # dontCheck: printf double rounding behavior
1102+ prettyprinter = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.prettyprinter else super.prettyprinter;
10981103}