summary refs log tree commit diff
path: root/pkgs/applications/graphics
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2018-03-24 14:26:30 +0100
committerDaiderd Jordan <daiderd@gmail.com>2018-03-24 14:26:30 +0100
commitb5b77a688683441a36edf18df2278fba160e17e0 (patch)
treee0671b07ca8dcebfa1e8c12e050cf591a885de04 /pkgs/applications/graphics
parentf59a544bf1db7141c9686bc65edc201582388d37 (diff)
downloadnixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar.gz
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar.bz2
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar.lz
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar.xz
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.tar.zst
nixlib-b5b77a688683441a36edf18df2278fba160e17e0.zip
qscreenshot: fix darwin build
/cc ZHF #36454
Diffstat (limited to 'pkgs/applications/graphics')
-rw-r--r--pkgs/applications/graphics/qscreenshot/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/graphics/qscreenshot/default.nix b/pkgs/applications/graphics/qscreenshot/default.nix
index c4f4f6472ed6..fafc76a76ffe 100644
--- a/pkgs/applications/graphics/qscreenshot/default.nix
+++ b/pkgs/applications/graphics/qscreenshot/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, dos2unix, which, qt }:
+{ stdenv, fetchurl, dos2unix, which, qt, Carbon }:
 
 stdenv.mkDerivation rec {
   name = "qscreenshot-1.0";
@@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
     sha256 = "1spj5fg2l8p5bk81xsv6hqn1kcrdiy54w19jsfb7g5i94vcb1pcx";
   };
 
-  buildInputs = [ dos2unix which qt ];
+  buildInputs = [ dos2unix which qt ]
+    ++ stdenv.lib.optional stdenv.isDarwin Carbon;
 
   # Remove carriage returns that cause /bin/sh to abort
   preConfigure = ''