From 2559da1fbf3a7e78ae105108a314cad106237368 Mon Sep 17 00:00:00 2001 From: Aria Shrimpton Date: Mon, 29 Jan 2024 23:56:24 +0000 Subject: run-all-tests job --- nix/candelabra.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nix/candelabra.nix') diff --git a/nix/candelabra.nix b/nix/candelabra.nix index da0a51c..192bf1f 100644 --- a/nix/candelabra.nix +++ b/nix/candelabra.nix @@ -13,14 +13,14 @@ inputs @ { src = craneLib.cleanCargoSource (craneLib.path ../src); doCheck = false; - propagatedBuildInputs = [(pkgs.callPackage ./racket-env.nix inputs)]; + propagatedBuildInputs = []; cargoExtraArgs = "-p candelabra-cli"; }; in pkgs.runCommand "candelabra" {} '' . ${pkgs.makeWrapper}/nix-support/setup-hook - mkdir -p $out/bin + mkdir -p $out/{bin,nix-support} makeWrapper ${rustCrate}/bin/candelabra $out/bin/candelabra \ --set CANDELABRA_SRC_DIR ${pkgs.lib.sourceByRegex ../src [ ".*crates" @@ -28,4 +28,5 @@ in ".*crates/library.*" ".*crates/benchmarker.*" ]} + echo "${pkgs.callPackage ./racket-env.nix inputs} ${toolchain}" > $out/nix-support/propagated-build-inputs '' -- cgit v1.2.3