From 6313687278494b417ce08ff7f0382680fcc69980 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 10 Jun 2020 17:09:43 +0800 Subject: [PATCH] remove artiq dependency on rustc --- artiq-fast/pkgs/libartiq-support.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/artiq-fast/pkgs/libartiq-support.nix b/artiq-fast/pkgs/libartiq-support.nix index 7041aed..7cffaaf 100644 --- a/artiq-fast/pkgs/libartiq-support.nix +++ b/artiq-fast/pkgs/libartiq-support.nix @@ -2,12 +2,15 @@ stdenv.mkDerivation rec { name = "libartiq-support-${version}"; version = import ./artiq-version.nix { inherit stdenv fetchgit git; }; + src = import ./artiq-src.nix { inherit fetchgit; }; + + buildInputs = [ rustc ]; phases = [ "buildPhase" ]; # keep in sync with artiq/test/lit/lit.cfg or remove build from the latter once we don't use buildbot/conda anymore buildPhase = '' mkdir $out - ${rustc}/bin/rustc ${src}/artiq/test/libartiq_support/lib.rs --out-dir $out -Cpanic=unwind -g + rustc ${src}/artiq/test/libartiq_support/lib.rs --out-dir $out -Cpanic=unwind -g ''; }