Skip to content

Commit

Permalink
edbrowse: mark as broken
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Jan 25, 2017
1 parent 61f893f commit d7b17e8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkgs/applications/editors/edbrowse/default.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{ stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl, perl, html-tidy }:
{ stdenv, fetchurl, spidermonkey, unzip, curl, pcre, readline, openssl, perl, html-tidy }:

stdenv.mkDerivation rec {
name = "edbrowse-${version}";
version = "3.6.1";

nativeBuildInputs = [ unzip ];
buildInputs = [ curl pcre readline openssl spidermonkey_24 perl html-tidy ];
buildInputs = [ curl pcre readline openssl spidermonkey perl html-tidy ];

patchPhase = ''
substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
Expand All @@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
done
'';

NIX_CFLAGS_COMPILE = "-I${spidermonkey_24.dev}/include/mozjs-24";
NIX_CFLAGS_COMPILE = "-I${spidermonkey}/include/mozjs-31";
makeFlags = "-C src prefix=$(out)";

src = fetchurl {
Expand All @@ -34,5 +35,6 @@ stdenv.mkDerivation rec {
homepage = http://edbrowse.org/;
maintainers = [ maintainers.schmitthenner maintainers.vrthra ];
platforms = platforms.linux;
broken = true; # no compatible spidermonkey
};
}

0 comments on commit d7b17e8

Please sign in to comment.