Skip to content

Commit

Permalink
Fixed sweettest
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Sep 2, 2024
1 parent 43ceb00 commit fb5aae0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,14 @@ rec {
zome-wasm-hash;
referenceZomeCargoArtifacts = flake.lib.zomeCargoArtifacts;
};
sweettest = { holochain, dna, workspacePath, crateCargoToml
sweettest = { system, dna, workspacePath, crateCargoToml
, buildInputs ? [ ], nativeBuildInputs ? [ ], cargoArtifacts ? null
}:
let
system = holochain.devShells.holonix.system;
pkgs = holochainPkgs { inherit system; };
craneLib = holochainCraneLib { inherit system; };
in pkgs.callPackage ./nix/sweettest.nix {
inherit holochain dna craneLib crateCargoToml cargoArtifacts
workspacePath;
inherit dna craneLib crateCargoToml cargoArtifacts workspacePath;
buildInputs = buildInputs ++ holochainDeps {
inherit pkgs;
lib = pkgs.lib;
Expand Down
2 changes: 1 addition & 1 deletion nix/sweettest.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ pkgs, dna, lib, cargoArtifacts, buildInputs, nativeBuildInputs, workspacePath
{ dna, lib, cargoArtifacts, buildInputs, nativeBuildInputs, workspacePath
, craneLib, crateCargoToml, ... }:
let
cargoToml = builtins.fromTOML (builtins.readFile crateCargoToml);
Expand Down

0 comments on commit fb5aae0

Please sign in to comment.