diff --git a/pkgs/applications/window-managers/cagebreak/default.nix b/pkgs/applications/window-managers/cagebreak/default.nix index 124c1abe6f9c..93f5b788c7ce 100644 --- a/pkgs/applications/window-managers/cagebreak/default.nix +++ b/pkgs/applications/window-managers/cagebreak/default.nix @@ -24,13 +24,13 @@ stdenv.mkDerivation rec { pname = "cagebreak"; - version = "1.8.0"; + version = "1.8.1"; src = fetchFromGitHub { owner = "project-repo"; repo = pname; rev = version; - hash = "sha256-tWfHJajAOYZJ73GckZWWTdVz75YmHA7t/qDhM7+tJgk="; + hash = "sha256-YaLGRlvppTUCSHFlt3sEfHgN3pYHuc5oGt3dt0DDw3I="; }; nativeBuildInputs = [ @@ -63,14 +63,12 @@ stdenv.mkDerivation rec { "-Dxwayland=${lib.boolToString withXwayland}" ]; - # TODO: investigate why is this happening postPatch = '' + # TODO: investigate why is this happening sed -i -e 's|||' *.c - ''; - postInstall = '' - install -d $out/share/cagebreak/ - install -m644 $src/examples/config $out/share/cagebreak/ + # Patch cagebreak to read its default configuration from $out/share/cagebreak + sed -i "s|/etc/xdg/cagebreak|$out/share/cagebreak|" meson.build cagebreak.c ''; postFixup = lib.optionalString withXwayland ''