diff options
author | Aria Shrimpton <me@aria.rip> | 2024-01-29 23:56:24 +0000 |
---|---|---|
committer | Aria Shrimpton <me@aria.rip> | 2024-01-29 23:56:24 +0000 |
commit | 2559da1fbf3a7e78ae105108a314cad106237368 (patch) | |
tree | b71010464836c211b9104a6666187cf296f407a9 /nix | |
parent | d976cddbea716de16e8b949415aa75922662a882 (diff) |
run-all-tests job
Diffstat (limited to 'nix')
-rw-r--r-- | nix/candelabra.nix | 5 | ||||
-rw-r--r-- | nix/racket-env.nix | 2 |
2 files changed, 4 insertions, 3 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 '' diff --git a/nix/racket-env.nix b/nix/racket-env.nix index 0577b97..d05a4f8 100644 --- a/nix/racket-env.nix +++ b/nix/racket-env.nix @@ -426,8 +426,8 @@ in pkgs.stdenv.mkDerivation { name = "racket-wrapped"; buildInputs = [pkgs.makeWrapper]; - phases = ["installPhase"]; propagatedBuildInputs = [pkgs.z3]; + phases = ["installPhase" "fixupPhase"]; installPhase = '' mkdir -p $out/bin makeWrapper ${racket}/bin/racket $out/bin/racket \ |