Skip to content

Commit

Permalink
Fixed sweettest
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed May 31, 2024
1 parent df1a944 commit 1fe2b5c
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 110 deletions.
165 changes: 57 additions & 108 deletions nix/fixtures/module-repo/flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions nix/sweettest.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ let

cargoVendorDir = craneLib.vendorCargoDeps { inherit src; };

rustFlags = ''
RUSTFLAGS="--remap-path-prefix ${cargoVendorDir}=/build/source/ --remap-path-prefix ${hcCargoDeps.cargoVendorDir}=/build/source/"'';
rustFlags =
"--remap-path-prefix ${cargoVendorDir}=/build/source/ --remap-path-prefix ${hcCargoDeps.cargoVendorDir}=/build/source/";

cargoArtifacts = (craneLib.callPackage ./buildDepsOnlyWithArtifacts.nix { }) {
inherit cargoVendorDir buildInputs nativeBuildInputs src;
Expand Down

0 comments on commit 1fe2b5c

Please sign in to comment.