ipmicfg: fix patchelf args
This commit is contained in:
parent
e1235e0fb6
commit
ec371a5d98
@ -15,9 +15,10 @@ stdenv.mkDerivation rec {
|
||||
mkdir -p "$out/bin" "$out/opt/ipmicfg"
|
||||
cp Linux/64bit/* "$out/opt/ipmicfg"
|
||||
|
||||
patchelf "$out/opt/ipmicfg/IPMICFG-Linux.x86_64" \
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}"
|
||||
--set-rpath "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}" \
|
||||
"$out/opt/ipmicfg/IPMICFG-Linux.x86_64"
|
||||
|
||||
ln -s "$out/opt/ipmicfg/IPMICFG-Linux.x86_64" "$out/bin/ipmicfg"
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user