Unverified Commit 6239ac5d authored by John Titor's avatar John Titor
Browse files

uwsm: prefer user env binaries

As much as I hate relying on user environment, this fixes the issue where sub processes that are launched with uwsm (with `uwsm app`) inherit uwsm's PATH. Now UWSM itself and its subprocesses should prefer the user environment. Fixes https://github.com/NixOS/nixpkgs/issues/358805
parent b3e9840b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ stdenv.mkDerivation (finalAttrs: {
  postInstall =
    let
      wrapperArgs = ''
        --prefix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}"
        --suffix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}"
      '';
    in
    ''