@@ -1,11 +1,14 @@
1−{ mkDerivation, aeson, base, bytestring, jsaddle, stdenv
1+{ mkDerivation, stdenv, aeson, base, bytestring, jsaddle
2−, osx_sdk, darwin }:
2+, buildPackages
3mkDerivation {
5mkDerivation {
4 pname = "jsaddle-wkwebview";
6 pname = "jsaddle-wkwebview";
5 version = "0.8.2.0";
7 version = "0.8.2.0";
7− libraryHaskellDepends = [ aeson base bytestring jsaddle
9+ libraryHaskellDepends = [ aeson base bytestring jsaddle ]
10+ # should use `librarySystemDepends` but it is not propagated
8− osx_sdk darwin.libobjc darwin.apple_sdk.libs.xpc ];
11+ ++ (with buildPackages; [ osx_sdk darwin.libobjc darwin.apple_sdk.libs.xpc ]);
9 description = "Interface for JavaScript that works with GHCJS and GHC";
12 description = "Interface for JavaScript that works with GHCJS and GHC";
10 license = stdenv.lib.licenses.mit;
13 license = stdenv.lib.licenses.mit;