mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
dell-command-configure: fix self inclusive src
This commit is contained in:
parent
d40ab11e88
commit
6f6cfd54ea
@ -55,10 +55,11 @@ let
|
||||
pname = "dell-command-configure-unpacked-wrapper-lib";
|
||||
inherit version;
|
||||
|
||||
src = ./.;
|
||||
unpackPhase = ''
|
||||
cp ${./wrapper-lib.c} wrapper-lib.c
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
ls -al
|
||||
substitute wrapper-lib.c lib.c \
|
||||
--subst-var-by to "${unpacked}/srvadmin-hapi/opt/dell/srvadmin/etc/omreg.d/omreg-hapi.cfg"
|
||||
cc -fPIC -shared lib.c -o ${wrapperLibName}
|
||||
|
Loading…
Reference in New Issue
Block a user