aboutsummaryrefslogtreecommitdiff
path: root/nix/candelabra.nix
diff options
context:
space:
mode:
authorAria Shrimpton <me@aria.rip>2024-01-29 23:56:24 +0000
committerAria Shrimpton <me@aria.rip>2024-01-29 23:56:24 +0000
commit2559da1fbf3a7e78ae105108a314cad106237368 (patch)
treeb71010464836c211b9104a6666187cf296f407a9 /nix/candelabra.nix
parentd976cddbea716de16e8b949415aa75922662a882 (diff)
run-all-tests job
Diffstat (limited to 'nix/candelabra.nix')
-rw-r--r--nix/candelabra.nix5
1 files changed, 3 insertions, 2 deletions
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
''