Unverified Commit a653412b authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

treewide: expand pythonPath bash array for structuredAttrs for wrapPythonProgramsIn (#483072)

parents 848c68cf 9b8cbc9c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ python3.pkgs.buildPythonApplication rec {
  '';

  postFixup = ''
    wrapPythonProgramsIn "$out/share/inkscape/extensions/" "$out $pythonPath"
    wrapPythonProgramsIn "$out/share/inkscape/extensions/" "$out ''${pythonPath[*]}"
  '';

  meta = {
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ python3.pkgs.buildPythonApplication rec {

  postFixup = ''
    # Wrap the project so it can find runtime dependencies.
    wrapPythonProgramsIn "$out/share/inkscape/extensions/textext" "$out $pythonPath"
    wrapPythonProgramsIn "$out/share/inkscape/extensions/textext" "$out ''${pythonPath[*]}"
    cp ${launchScript} $out/share/inkscape/extensions/textext/launch.sh
  '';

+1 −1
Original line number Diff line number Diff line
@@ -67,7 +67,7 @@ python3Packages.buildPythonApplication rec {
  # Executable in $out/bin is a symlink to $out/share/dupeguru/run.py
  # so wrapPythonPrograms hook does not handle it automatically.
  postFixup = ''
    wrapPythonProgramsIn "$out/share/dupeguru" "$out $pythonPath"
    wrapPythonProgramsIn "$out/share/dupeguru" "$out ''${pythonPath[*]}"
  '';

  meta = {
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
    runHook preInstall
    dune install --prefix $out easycrypt
    rm $out/bin/ec-runtest
    wrapPythonProgramsIn "$out/lib/easycrypt/commands" "$pythonPath"
    wrapPythonProgramsIn "$out/lib/easycrypt/commands" "''${pythonPath[*]}"
    runHook postInstall
  '';

+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ stdenv.mkDerivation rec {

  preFixup = ''
    patchShebangs $out/opt/sumorobot-manager/main.py
    wrapPythonProgramsIn "$out/opt" "$pythonPath"
    wrapPythonProgramsIn "$out/opt" "''${pythonPath[*]}"
  '';

  meta = {
Loading