diff options
Diffstat (limited to 'pkgs/by-name/se/servo/package.nix')
-rw-r--r-- | pkgs/by-name/se/servo/package.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/se/servo/package.nix b/pkgs/by-name/se/servo/package.nix index de7efca2767f..af6fb95d9585 100644 --- a/pkgs/by-name/se/servo/package.nix +++ b/pkgs/by-name/se/servo/package.nix @@ -130,7 +130,7 @@ rustPlatform.buildRustPackage { libGL xorg.libX11 xorg.libxcb - ] ++ (lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.AppKit ]); + ] ++ (lib.optionals stdenv.hostPlatform.isDarwin [ darwin.apple_sdk.frameworks.AppKit ]); # copy resources into `$out` to be used during runtime # link runtime libraries @@ -142,7 +142,7 @@ rustPlatform.buildRustPackage { --prefix LD_LIBRARY_PATH : ${runtimePaths} ''; - LIBCLANG_PATH = "${llvmPackages.libclang.lib}/lib"; + LIBCLANG_PATH = "${lib.getLib llvmPackages.libclang}/lib"; meta = { description = "The embeddable, independent, memory-safe, modular, parallel web rendering engine"; |