uwsm: prefer user env binaries at runtime (#358883)
This commit is contained in:
commit
6cd29a4cd0
@ -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
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user