Merge pull request #142258 from AndersonTorres/new-misc

cagebreak: use lib.makeBinPath instead of hardcoding bin paths
conduit-nginx
Anderson Torres 2021-10-20 20:31:25 -03:00 committed by GitHub
commit 0cc8662dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ stdenv.mkDerivation rec {
'';
postFixup = lib.optionalString withXwayland ''
wrapProgram $out/bin/cagebreak --prefix PATH : "${xwayland}/bin"
wrapProgram $out/bin/cagebreak \
--prefix PATH : "${lib.makeBinPath [ xwayland ]}"
'';
meta = with lib; {