Skip to content

Commit

Permalink
Updated flake
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Aug 22, 2024
1 parent fa77dfc commit 0125f85
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 29 deletions.
25 changes: 15 additions & 10 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ rec {
in cargoArtifacts;

rustZome = { crateCargoToml, holochain, workspacePath
, nonWasmCrates ? [ ], cargoArtifacts ? null, matchingZomeHash ? null }:
, nonWasmCrates ? [ ], cargoArtifacts ? null
, matchingZomeHash ? null }:
let
deterministicCraneLib = let
pkgs = import inputs.nixpkgs {
Expand All @@ -154,11 +155,13 @@ rec {
pkgs = holochainPkgs { inherit system; };
craneLib = holochainCraneLib { inherit system; };

zome-wasm-hash = (outputs inputs).packages.${system}.zome-wasm-hash;
zome-wasm-hash =
(outputs inputs).packages.${system}.zome-wasm-hash;

in pkgs.callPackage ./nix/zome.nix {
inherit deterministicCraneLib craneLib crateCargoToml
cargoArtifacts nonWasmCrates workspacePath matchingZomeHash zome-wasm-hash;
cargoArtifacts nonWasmCrates workspacePath matchingZomeHash
zome-wasm-hash;
referenceZomeCargoArtifacts = flake.lib.zomeCargoArtifacts;
};
sweettest = { holochain, dna, workspacePath, crateCargoToml
Expand All @@ -185,10 +188,12 @@ rec {
let
system = holochain.devShells.holonix.system;
pkgs = holochainPkgs { inherit system; };
compare-dnas-integrity = (outputs inputs).packages.${system}.compare-dnas-integrity;

compare-dnas-integrity =
(outputs inputs).packages.${system}.compare-dnas-integrity;

in pkgs.callPackage ./nix/dna.nix {
inherit zomes holochain dnaManifest compare-dnas-integrity matchingIntegrityDna;
inherit zomes holochain dnaManifest compare-dnas-integrity
matchingIntegrityDna;
};
happ = { holochain, happManifest, dnas }:
let
Expand All @@ -200,10 +205,10 @@ rec {
};
};

imports = [
./crates/scaffold_remote_zome/default.nix
./crates/compare_dnas_integrity/default.nix
./crates/zome_wasm_hash/default.nix
imports = [
./crates/scaffold_remote_zome/default.nix
./crates/compare_dnas_integrity/default.nix
./crates/zome_wasm_hash/default.nix
];

systems = builtins.attrNames inputs.holochain.devShells;
Expand Down
38 changes: 19 additions & 19 deletions nix/fixtures/module-repo/flake.lock

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

0 comments on commit 0125f85

Please sign in to comment.