mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
cagebreak: use lib.makeBinPath instead of hardcoding bin paths
This commit is contained in:
parent
d68053da0a
commit
74a96b807a
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue