Unverified Commit 6cd29a4c authored by Atemu's avatar Atemu Committed by GitHub
Browse files

uwsm: prefer user env binaries at runtime (#358883)

parents 53cbef91 a20bd2cc
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  libnotify,
  newt,
  python3Packages,
  systemd,
  util-linux,
  fumonSupport ? true,
  uuctlSupport ? true,
@@ -49,6 +50,7 @@ stdenv.mkDerivation (finalAttrs: {
    newt # whiptail
    libnotify # notify
    bash # sh
    systemd
    python
  ] ++ (lib.optionals uuctlSupport [ dmenu ]);

@@ -66,7 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
  postInstall =
    let
      wrapperArgs = ''
        --prefix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}"
        --suffix PATH : "${lib.makeBinPath finalAttrs.propagatedBuildInputs}"
      '';
    in
    ''