mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 07:32:58 +00:00
Merge pull request #328086 from Enzime/fix/gparted-wayland
gparted: fix GParted not running on Wayland
This commit is contained in:
commit
f07b327f8d
@ -2,7 +2,7 @@
|
||||
, adwaita-icon-theme
|
||||
, gnugrep, parted, glib, libuuid, pkg-config, gtkmm3, libxml2
|
||||
, gpart, hdparm, procps, util-linux, polkit, wrapGAppsHook3, substituteAll
|
||||
, mtools, dosfstools
|
||||
, mtools, dosfstools, xhost
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
configureFlags = [ "--disable-doc" ];
|
||||
configureFlags = [ "--disable-doc" "--enable-xhost-root" ];
|
||||
|
||||
buildInputs = [ parted glib libuuid gtkmm3 libxml2 polkit.bin adwaita-icon-theme ];
|
||||
nativeBuildInputs = [ gettext pkg-config wrapGAppsHook3 ];
|
||||
@ -38,7 +38,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 ]}"
|
||||
)
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user