mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
gitstats: stay with python2
This commit is contained in:
parent
ee258981bf
commit
5c8e424b84
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchzip, perl, python, gnuplot, coreutils, gnugrep }:
|
||||
{ lib, stdenv, fetchzip, perl, python2, gnuplot, coreutils, gnugrep }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gitstats";
|
||||
|
@ -11,7 +11,11 @@ stdenv.mkDerivation rec {
|
|||
name = "${pname}-${version}" + "-src";
|
||||
};
|
||||
|
||||
buildInputs = [ perl python ];
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
||||
buildInputs = [ python2 ];
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
postPatch = ''
|
||||
sed -e "s|gnuplot_cmd = .*|gnuplot_cmd = '${gnuplot}/bin/gnuplot'|" \
|
||||
|
|
Loading…
Reference in a new issue