Skip to content

Commit

Permalink
autofs: fix compilation fail due to libtirpc changes
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperSandro2000 committed Nov 24, 2020
1 parent 43082f7 commit 4d5ab8d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pkgs/os-specific/linux/autofs/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, flex, bison, linuxHeaders, libtirpc, mount, umount, nfs-utils, e2fsprogs
, libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl }:
, libxml2, kerberos, kmod, openldap, sssd, cyrus_sasl, openssl, rpcsvc-proto }:

let
version = "5.1.6";
Expand Down Expand Up @@ -28,13 +28,16 @@ in stdenv.mkDerivation {
unset STRIP # Makefile.rules defines a usable STRIP only without the env var.
'';

# configure script is not finding the right path
NIX_CFLAGS_COMPILE = [ "-I${libtirpc.dev}/include/tirpc" ];

installPhase = ''
make install SUBDIRS="lib daemon modules man" # all but samples
#make install SUBDIRS="samples" # impure!
'';

buildInputs = [ linuxHeaders libtirpc libxml2 kerberos kmod openldap sssd
openssl cyrus_sasl ];
openssl cyrus_sasl rpcsvc-proto ];

nativeBuildInputs = [ flex bison ];

Expand Down

0 comments on commit 4d5ab8d

Please sign in to comment.