-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin
Description
Issue description
The macOS build of haskellPackages.postgresql-libpq fails to link in recent nixpkgs; it looks like something's wrong with (at least) the smoke tests:
Preprocessing test suite 'smoke' for postgresql-libpq-0.9.4.2..
Building test suite 'smoke' for postgresql-libpq-0.9.4.2..
[1 of 1] Compiling Main ( test/Smoke.hs, dist/build/smoke/smoke-tmp/Main.o )
Linking dist/build/smoke/smoke ...
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
clang-5.0: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]
Undefined symbols for architecture x86_64:
"_ASN1_STRING_length", referenced from:
_verify_peer_name_matches_certificate_name in libpq.a(fe-secure-openssl.o)
Steps to reproduce
This nix expression fails to build on macOS:
let
nixpkgs = import (builtins.fetchTarball {
url = "https://github.com/NixOS/nixpkgs/archive/5632aad4739c2fc342ea280cee47b5213f799491.zip";
sha256 = "0zfzfhmbshdkgi5pl5sxh1l8r8m13vwgwsyafbixvc6pcc4sdrh3";
}) {};
in
nixpkgs.haskellPackages.postgresql-libpqThis is a regression: i can successfully enter a nix-shell using this package if I use an 18.09 channel.
Technical details
nix-info -m:
- system: `"x86_64-darwin"`
- host os: `Darwin 17.7.0, macOS 10.13.6`
- multi-user?: `no`
- sandbox: `no`
- version: `nix-env (Nix) 2.1.3`
- channels(che347): `"nixpkgs-19.03pre159614.f52b7f5c345, nixpkgs-18.09-darwin-18.09pre152973.012b9e6c219"`
- nixpkgs: `/Users/che347/.nix-defexpr/channels/nixpkgs`
I am not sure how best to proceed. Please let me know if I can provide more useful information.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
6.topic: darwinRunning or building packages on DarwinRunning or building packages on Darwin