@@ -1,28 +0,0 @@
1−{ stdenv, callPackage, fetchFromGitHub, python, ... } @ args:
2−with stdenv.lib;
3−let
4− version = "3.14.5.10";
5− sha256 = "08vhl84166x13b3cbx8y0g99yqx772zd33gawsa1nxqkyrykql6k";
6−in
7−(callPackage ./generic.nix (args // {
8− inherit version sha256;
9−})).overrideDerivation (oldAttrs:{
10− patchPhase = [
11− oldAttrs.patchPhase
12− "sed -i 's,#!/usr/bin/python,#!${python}/bin/python,' build/gyp_v8"
13− ];
14−
15− # http://code.google.com/p/v8/issues/detail?id=2149
16− NIX_CFLAGS_COMPILE = concatStringsSep " " [
17− oldAttrs.NIX_CFLAGS_COMPILE
18− "-Wno-unused-local-typedefs"
19− "-Wno-aggressive-loop-optimizations"
20− ];
21−
22− src = fetchFromGitHub {
23− owner = "v8";
24− repo = "v8";
25− rev = "${version}";
26− inherit sha256;
27− };
28−})