Skip to content

Commit

Permalink
[Backport release-24.05] gparted: fix GParted not running on Wayland (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Artturin committed Sep 3, 2024
2 parents 270869d + 6e0ed0b commit ae9d21a
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 ae9d21a

Please sign in to comment.