xfsprogs: Actually fix library rpath
This commit is contained in:
parent
9d1acf8559
commit
acaf6b4334
@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "lib" ];
|
outputs = [ "out" "lib" ];
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
NIX_LDFLAGS="$(echo $NIX_LDFLAGS | sed "s,$out,$lib,g")"
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"MAKE=make"
|
"MAKE=make"
|
||||||
"MSGFMT=msgfmt"
|
"MSGFMT=msgfmt"
|
||||||
@ -42,11 +46,6 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = [ "install-dev" ];
|
installFlags = [ "install-dev" ];
|
||||||
|
|
||||||
postInstall = ''
|
|
||||||
# Emitted libraries have references to $out, fix this
|
|
||||||
sed -i "s,$out,$lib,g" $lib/lib/*
|
|
||||||
'';
|
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user