about summary refs log tree commit diff
path: root/pkgs/desktops/gnome-3/core/gjs/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-11-27 12:19:01 +0100
committerVladimír Čunát <vcunat@gmail.com>2017-11-27 12:19:01 +0100
commit6345089ca0af23a29387f48060a53dff0d0d30f5 (patch)
treeaa11989838217951662f46c011205e11d525e4dc /pkgs/desktops/gnome-3/core/gjs/default.nix
parent658951917437e7d587c8a206cc6497a7f1192891 (diff)
parente69a3248f7c8308b0d583941e8f1bb1a99a431a7 (diff)
downloadnixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar.gz
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar.bz2
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar.lz
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar.xz
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.tar.zst
nixlib-6345089ca0af23a29387f48060a53dff0d0d30f5.zip
Merge #29392: gnome3: 3.24 -> 3.26
It might be slightly confusing that a couple of the changes will be twice
in the history, but let's merge this way.
Diffstat (limited to 'pkgs/desktops/gnome-3/core/gjs/default.nix')
-rw-r--r--pkgs/desktops/gnome-3/core/gjs/default.nix9
1 files changed, 2 insertions, 7 deletions
diff --git a/pkgs/desktops/gnome-3/core/gjs/default.nix b/pkgs/desktops/gnome-3/core/gjs/default.nix
index 482d6ae64a40..dd607e01caef 100644
--- a/pkgs/desktops/gnome-3/core/gjs/default.nix
+++ b/pkgs/desktops/gnome-3/core/gjs/default.nix
@@ -1,5 +1,5 @@
 { fetchurl, stdenv, pkgconfig, gnome3, gtk3, gobjectIntrospection
-, spidermonkey_38, pango, readline, glib, libxml2, dbus }:
+, spidermonkey_52, pango, readline, glib, libxml2, dbus }:
 
 stdenv.mkDerivation rec {
   inherit (import ./src.nix fetchurl) name src;
@@ -7,12 +7,7 @@ stdenv.mkDerivation rec {
   nativeBuildInputs = [ pkgconfig ];
   buildInputs = [ libxml2 gobjectIntrospection gtk3 glib pango readline dbus ];
 
-  propagatedBuildInputs = [ spidermonkey_38 ];
-
-  # GJS expects mozjs-38.pc but spidermonkey_38 only provides js.pc
-  preConfigure = ''
-    sed -i s/mozjs-38/js/ configure
-  '';
+  propagatedBuildInputs = [ spidermonkey_52 ];
 
   postInstall = ''
     sed 's|-lreadline|-L${readline.out}/lib -lreadline|g' -i $out/lib/libgjs.la