Add Camino React visualizer runtime path
This commit is contained in:
@@ -595,12 +595,22 @@ EOF
|
||||
installConfig.libexecName or (lib.strings.sanitizeDerivationName packageNameFinal);
|
||||
serverFile = installConfig.serverFile or bundleOutfile;
|
||||
descriptorPath = installConfig.descriptorPath or "descriptor.quixos-package.txtpb";
|
||||
extraFiles = installConfig.extraFiles or [ ];
|
||||
installExtraFile = file:
|
||||
let
|
||||
source = toString file.source;
|
||||
target = file.target or (baseNameOf source);
|
||||
mode = file.mode or "0644";
|
||||
in ''
|
||||
install -Dm${toString mode} ${lib.escapeShellArg source} "$out/libexec/${serverLibexecName}/${target}"
|
||||
'';
|
||||
installServerPhase =
|
||||
if installServer == null
|
||||
then null
|
||||
else ''
|
||||
runHook preInstall
|
||||
install -Dm755 ${lib.escapeShellArg serverFile} "$out/libexec/${serverLibexecName}/${serverFile}"
|
||||
${lib.concatMapStringsSep "\n" installExtraFile extraFiles}
|
||||
mkdir -p "$out/bin"
|
||||
cat > "$out/bin/${serverBin}" <<EOF
|
||||
#!${pkgs.runtimeShell}
|
||||
|
||||
Reference in New Issue
Block a user