From ec064077f730aa42d2afd46de663e1e353e562c2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Fri, 12 Apr 2019 18:17:55 +0800 Subject: [PATCH] llvmlite-artiq: more 19.03 fixes --- artiq/pkgs/llvmlite-artiq.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/pkgs/llvmlite-artiq.nix b/artiq/pkgs/llvmlite-artiq.nix index 73d9fec..b6fd8fa 100644 --- a/artiq/pkgs/llvmlite-artiq.nix +++ b/artiq/pkgs/llvmlite-artiq.nix @@ -10,7 +10,7 @@ python3Packages.buildPythonPackage rec { buildInputs = [ makeWrapper python3 ncurses zlib llvm-or1k python3Packages.setuptools ]; - buildPhase = "LLVM_CONFIG=${llvm-or1k}/bin/llvm-config python3 setup.py install --prefix=$out"; + preBuild = "export LLVM_CONFIG=${llvm-or1k}/bin/llvm-config"; meta = with stdenv.lib; { description = "A lightweight LLVM python binding for writing JIT compilers";