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: 306a07f8d4c1
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 679e8fa932c4
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 21, 2018

  1. Copy the full SHA
    679e8fa View commit details
Showing with 9 additions and 5 deletions.
  1. +9 −5 pkgs/tools/networking/nss-pam-ldapd/default.nix
14 changes: 9 additions & 5 deletions pkgs/tools/networking/nss-pam-ldapd/default.nix
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
{ stdenv, fetchurl, pkgconfig, openldap, python, pam, makeWrapper }:
{ stdenv, fetchurl
, pkgconfig, makeWrapper, autoreconfHook
, openldap, python, pam
}:

stdenv.mkDerivation rec {
name = "nss-pam-ldapd-${version}";
version = "0.9.10";

src = fetchurl {
url = "https://arthurdejong.org/nss-pam-ldapd/${name}.tar.gz";
sha256 = "1cqamcr6qpgwxijlr6kg7jspjamjra8w0haan0qssn0yxn95d7c0";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper python openldap pam ];

nativeBuildInputs = [ pkgconfig makeWrapper autoreconfHook ];
buildInputs = [ openldap pam python ];

preConfigure = ''
substituteInPlace Makefile.in --replace "install-data-local: " "# install-data-local: "
@@ -21,6 +24,7 @@ stdenv.mkDerivation rec {
"--with-nslcd-socket=/run/nslcd/socket"
"--with-nslcd-pidfile=/run/nslcd/nslcd.pid"
"--with-pam-seclib-dir=$(out)/lib/security"
"--enable-kerberos=no"
];

postInstall = ''