Merge pull request #142258 from AndersonTorres/new-misc
cagebreak: use lib.makeBinPath instead of hardcoding bin paths
This commit is contained in:
commit
0cc8662dec
@ -74,7 +74,8 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
postFixup = lib.optionalString withXwayland ''
|
postFixup = lib.optionalString withXwayland ''
|
||||||
wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin"
|
wrapProgram $out/bin/cagebreak \
|
||||||
|
--prefix PATH : "${lib.makeBinPath [ xwayland ]}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user