From 9029840dc84f3108c57a49bb72d69db1073abfd1 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 26 Mar 2021 10:07:25 +0100 Subject: [PATCH] jscoverage: use python3 --- pkgs/development/tools/misc/jscoverage/default.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/misc/jscoverage/default.nix b/pkgs/development/tools/misc/jscoverage/default.nix index 042d085c1e0c..217cbe5e0296 100644 --- a/pkgs/development/tools/misc/jscoverage/default.nix +++ b/pkgs/development/tools/misc/jscoverage/default.nix @@ -1,4 +1,4 @@ -{ autoconf, fetchurl, makedepend, perl, python, lib, stdenv, unzip, zip }: +{ autoconf, fetchurl, makedepend, perl, python3, lib, stdenv, unzip, zip }: stdenv.mkDerivation rec { name = "jscoverage-0.5.1"; @@ -12,8 +12,9 @@ stdenv.mkDerivation rec { ./jsfalse_to_null.patch ]; - nativeBuildInputs = [ unzip ]; - buildInputs = [ autoconf makedepend perl python zip ]; + nativeBuildInputs = [ unzip perl python3 zip ]; + + strictDeps = true; # It works without MOZ_FIX_LINK_PATHS, circumventing an impurity # issue. Maybe we could kick js/ (spidermonkey) completely and