Skip to content

Commit

Permalink
gparted: fix GParted not running on Wayland
Browse files Browse the repository at this point in the history
Fixes #299729

(cherry picked from commit b10c9c4)
  • Loading branch information
Enzime authored and github-actions[bot] committed Aug 16, 2024
1 parent 8e51cda commit 6e0ed0b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/tools/misc/gparted/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchurl, gettext, coreutils, gnused, gnome
, gnugrep, parted, glib, libuuid, pkg-config, gtkmm3, libxml2
, gpart, hdparm, procps, util-linux, polkit, wrapGAppsHook3, substituteAll
, mtools, dosfstools
, mtools, dosfstools, xhost
}:

stdenv.mkDerivation rec {
Expand All @@ -25,7 +25,7 @@ stdenv.mkDerivation rec {

enableParallelBuilding = true;

configureFlags = [ "--disable-doc" ];
configureFlags = [ "--disable-doc" "--enable-xhost-root" ];

buildInputs = [ parted glib libuuid gtkmm3 libxml2 polkit.bin gnome.adwaita-icon-theme ];
nativeBuildInputs = [ gettext pkg-config wrapGAppsHook3 ];
Expand All @@ -37,7 +37,7 @@ stdenv.mkDerivation rec {

preFixup = ''
gappsWrapperArgs+=(
--prefix PATH : "${lib.makeBinPath [ gpart hdparm util-linux procps coreutils gnused gnugrep mtools dosfstools ]}"
--prefix PATH : "${lib.makeBinPath [ gpart hdparm util-linux procps coreutils gnused gnugrep mtools dosfstools xhost ]}"
)
'';

Expand Down

0 comments on commit 6e0ed0b

Please sign in to comment.