Merge pull request #61738 from endgame/arandr-no-boom

arandr: Stop crashing when trying to open dialog boxes
This commit is contained in:
worldofpeace 2019-05-20 18:13:59 -04:00 committed by GitHub
commit 49bed969d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,7 @@
{ stdenv, fetchurl, gobject-introspection, gtk3, xrandr, python3Packages }:
{ stdenv, fetchurl, python3Packages
, gobject-introspection, gsettings-desktop-schemas, gtk3
, wrapGAppsHook, xrandr
}:
let
inherit (python3Packages) buildPythonApplication docutils pygobject3;
@ -17,13 +20,13 @@ in buildPythonApplication rec {
# no tests
doCheck = false;
buildInputs = [ docutils ];
nativeBuildInputs = [ gobject-introspection gtk3 ];
propagatedBuildInputs = [ xrandr pygobject3 ];
# hook for gobject-introspection doesn't like strictDeps
# https://github.com/NixOS/nixpkgs/issues/56943
strictDeps = false;
makeWrapperArgs = [
"--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
];
buildInputs = [ docutils gsettings-desktop-schemas gtk3 ];
nativeBuildInputs = [ gobject-introspection wrapGAppsHook ];
propagatedBuildInputs = [ xrandr pygobject3 ];
meta = {
homepage = http://christian.amsuess.com/tools/arandr/;