etlegacy: fix binaries wrappers

This commit is contained in:
Pol Dellaiera 2024-04-09 22:47:07 +02:00
parent b117f65a97
commit fe24bde02f
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA
2 changed files with 4 additions and 7 deletions

View File

@ -92,11 +92,6 @@ stdenv.mkDerivation {
"-DINSTALL_DEFAULT_BINDIR=${placeholder "out"}/bin"
];
postInstall = ''
makeWrapper $out/bin/etl.* $out/bin/etl
makeWrapper $out/bin/etlded.* $out/bin/etlded
'';
hardeningDisable = [ "fortify" ];
meta = {

View File

@ -18,10 +18,12 @@ symlinkJoin {
];
postBuild = ''
makeWrapper $out/bin/etl.* $out/bin/etl \
wrapProgram $out/bin/etl.* \
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
makeWrapper $out/bin/etlded.* $out/bin/etlded \
wrapProgram $out/bin/etlded.* \
--add-flags "+set fs_basepath ${placeholder "out"}/lib/etlegacy"
makeWrapper $out/bin/etl.* $out/bin/etl
makeWrapper $out/bin/etlded.* $out/bin/etlded
'';
meta = {