Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 57852282cf0a
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ebbd6f347179
Choose a head ref
  • 16 commits
  • 3 files changed
  • 3 contributors

Commits on Jul 25, 2018

  1. Copy the full SHA
    5c7cfbc View commit details
  2. Copy the full SHA
    707ef5b View commit details

Commits on Jul 26, 2018

  1. Copy the full SHA
    1d39f2e View commit details

Commits on Jul 27, 2018

  1. Copy the full SHA
    b2104d9 View commit details
  2. Copy the full SHA
    a33d4ed View commit details
  3. Unverified

    This user has not yet uploaded their public signing key.
    Copy the full SHA
    a998a49 View commit details

Commits on Jul 29, 2018

  1. Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    3a9d8a1 View commit details
  2. Copy the full SHA
    8947051 View commit details

Commits on Jul 30, 2018

  1. Copy the full SHA
    56aa3b4 View commit details
  2. Copy the full SHA
    e8682ca View commit details
  3. Copy the full SHA
    c0ca3e3 View commit details
  4. Copy the full SHA
    bb2dda2 View commit details

Commits on Jul 31, 2018

  1. Copy the full SHA
    003055a View commit details
  2. Copy the full SHA
    40c2bf6 View commit details

Commits on Aug 2, 2018

  1. Copy the full SHA
    f539c30 View commit details

Commits on Aug 3, 2018

  1. Merge pull request #44083 from dingxiangfei2009/cross-compiling-postg…

    …resql
    
    Allow postgresql to cross compile
    Ericson2314 authored Aug 3, 2018
    Copy the full SHA
    ebbd6f3 View commit details
Showing with 22 additions and 5 deletions.
  1. +5 −1 pkgs/development/libraries/libossp-uuid/default.nix
  2. +11 −0 pkgs/development/libraries/libossp-uuid/shtool.patch
  3. +6 −4 pkgs/servers/sql/postgresql/default.nix
6 changes: 5 additions & 1 deletion pkgs/development/libraries/libossp-uuid/default.nix
Original file line number Diff line number Diff line change
@@ -10,7 +10,11 @@ stdenv.mkDerivation {
sha256= "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0";
};

configureFlags = stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
configureFlags = [
"ac_cv_va_copy=yes"
] ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";

patches = [ ./shtool.patch ];

meta = with stdenv.lib; {
homepage = http://www.ossp.org/pkg/lib/uuid/;
11 changes: 11 additions & 0 deletions pkgs/development/libraries/libossp-uuid/shtool.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- a/shtool 2008-07-05 05:43:08.000000000 +0800
+++ b/shtool 2018-07-25 15:45:40.559587471 +0800
@@ -1400,7 +1400,7 @@
if [ ".$opt_t" = .yes ]; then
echo "strip $dsttmp" 1>&2
fi
- strip $dsttmp || shtool_exit $?
+ $STRIP $dsttmp || shtool_exit $?
fi
if [ ".$opt_o" != . ]; then
if [ ".$opt_t" = .yes ]; then
10 changes: 6 additions & 4 deletions pkgs/servers/sql/postgresql/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, glibc, fetchurl, zlib, readline, libossp_uuid, openssl, libxml2, makeWrapper }:
{ lib, stdenv, glibc, fetchurl, zlib, readline, libossp_uuid, openssl, libxml2, makeWrapper, tzdata }:

let

@@ -22,14 +22,16 @@ let

makeFlags = [ "world" ];

NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ];

configureFlags = [
"--with-openssl"
"--with-libxml"
"--sysconfdir=/etc"
"--libdir=$(lib)/lib"
]
++ lib.optional (stdenv.isDarwin) "--with-uuid=e2fs"
++ lib.optional (!stdenv.isDarwin) "--with-ossp-uuid";
"--with-system-tzdata=${tzdata}"
(if stdenv.isDarwin then "--with-uuid=e2fs" else "--with-ossp-uuid")
];

patches =
[ (if atLeast "9.4" then ./disable-resolve_symlinks-94.patch else ./disable-resolve_symlinks.patch)