3
0
Fork 0
forked from mirrors/nixpkgs

Fix Samba build

This commit is contained in:
Eelco Dolstra 2015-06-11 01:22:37 +02:00
parent fcf99efcd2
commit 8b2f226a96

View file

@ -75,7 +75,7 @@ stdenv.mkDerivation rec {
postFixup = ''
export SAMBA_LIBS="$(find $out -type f -name \*.so -exec dirname {} \; | sort | uniq)"
read -r -d "" SCRIPT << EOF
read -r -d "" SCRIPT << EOF || true
[ -z "\$SAMBA_LIBS" ] && exit 1;
BIN='{}';
OLD_LIBS="\$(patchelf --print-rpath "\$BIN" 2>/dev/null | tr ':' '\n')";