From 7e7cec1562e42647d159ba39d7d25721606bee56 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 13 Nov 2019 15:48:25 +0100 Subject: [PATCH] hy: use python2, build fails with 3 --- pkgs/development/interpreters/hy/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/interpreters/hy/default.nix b/pkgs/development/interpreters/hy/default.nix index a6acd603c815..5816b3a175c6 100644 --- a/pkgs/development/interpreters/hy/default.nix +++ b/pkgs/development/interpreters/hy/default.nix @@ -1,15 +1,15 @@ -{ stdenv, fetchurl, pythonPackages }: +{ stdenv, fetchurl, python2Packages }: -pythonPackages.buildPythonApplication rec { +python2Packages.buildPythonApplication rec { pname = "hy"; version = "0.17.0"; - src = pythonPackages.fetchPypi { + src = python2Packages.fetchPypi { inherit pname version; sha256 = "1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi"; }; - propagatedBuildInputs = with pythonPackages; [ + propagatedBuildInputs = with python2Packages; [ appdirs astor clint