irker: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-26 09:58:19 +01:00
parent cd7593f815
commit 714961a494

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitLab, python, pkg-config
{ lib, stdenv, fetchFromGitLab, python3, pkg-config
, xmlto, docbook2x, docbook_xsl, docbook_xml_dtd_412 }:
stdenv.mkDerivation {
@ -15,12 +15,14 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkg-config xmlto docbook2x docbook_xsl docbook_xml_dtd_412 ];
buildInputs = [
python
python3
# Needed for proxy support I believe, which I haven't tested.
# Probably needs to be propagated and some wrapPython magic
# python.pkgs.pysocks
];
strictDeps = true;
postPatch = ''
substituteInPlace Makefile \
--replace '-o 0 -g 0' ""