Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Mar 5, 2024
1 parent 6a37103 commit 546c3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
{
flake = {
lib = rec {
filterByHolochainPackageType = holochainPackageType: packages: inputs.nixpkgs.lib.filterAttrs (key: value: value.meta.holochainPackageType == holochainPackageType) packages;
filterByHolochainPackageType = holochainPackageType: packages: inputs.nixpkgs.lib.filterAttrs (key: value: (builtins.hasAttr "meta" value) && (builtins.hasAttr "holochainPackageType" value.meta) && value.meta.holochainPackageType == holochainPackageType) packages;

filterZomes = filterByHolochainPackageType "zome";
filterDnas = filterByHolochainPackageType "dna";
filterHapps = filterByHolochainPackageType "happ";

rustZome = { cratePath, holochain, workspacePath, excludedCrates ? [] }:
let
system = holochain.devShells.holonix.system;
Expand Down

0 comments on commit 546c3c6

Please sign in to comment.