From 74a96b807a889e0584e0c507d6d00c4ba22bee61 Mon Sep 17 00:00:00 2001 From: AndersonTorres Date: Tue, 19 Oct 2021 18:56:26 -0300 Subject: [PATCH] cagebreak: use lib.makeBinPath instead of hardcoding bin paths --- pkgs/applications/window-managers/cagebreak/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/cagebreak/default.nix b/pkgs/applications/window-managers/cagebreak/default.nix index fe4b2be47929..124c1abe6f9c 100644 --- a/pkgs/applications/window-managers/cagebreak/default.nix +++ b/pkgs/applications/window-managers/cagebreak/default.nix @@ -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; {