diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-06-12 09:59:45 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-06-18 18:14:17 +0000 |
commit | c5571a126859eb658ffd7340cb580f7d91f12bb6 (patch) | |
tree | 577573c3bf14d9849246d52daece719a10eaf138 /nixpkgs/pkgs/tools/X11/arandr/default.nix | |
parent | 828bd4e8ddcbcd354ddfd99f55af69ee8ff5d9e7 (diff) | |
parent | 98e3b90b6c8f400ae5438ef868eb992a64b75ce5 (diff) | |
download | nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar.gz nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar.bz2 nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar.lz nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar.xz nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.tar.zst nixlib-c5571a126859eb658ffd7340cb580f7d91f12bb6.zip |
Merge commit '98e3b90b6c8f400ae5438ef868eb992a64b75ce5'
Diffstat (limited to 'nixpkgs/pkgs/tools/X11/arandr/default.nix')
-rw-r--r-- | nixpkgs/pkgs/tools/X11/arandr/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/tools/X11/arandr/default.nix b/nixpkgs/pkgs/tools/X11/arandr/default.nix index 5baba1171571..51f2f5ec2494 100644 --- a/nixpkgs/pkgs/tools/X11/arandr/default.nix +++ b/nixpkgs/pkgs/tools/X11/arandr/default.nix @@ -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/; |