diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 64678d4..cf8df8a 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -1,4 +1,4 @@ -name: Develop +name: CI on: push: @@ -6,33 +6,85 @@ on: pull_request: branches: [main, develop] +concurrency: + group: ${{ github.head_ref || github.run_id }} + cancel-in-progress: true + jobs: - build: + lints: + name: Lints + timeout-minutes: 50 runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v2 + + - name: ⚡ Restore cache + uses: actions/cache/restore@v3 + with: + path: | + .cargo + target + key: ${{ runner.os }}-build-happ-${{ hashFiles('Cargo.lock') }} + + - name: 🔨 Install toolchain + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + components: rustfmt, clippy + + - name: 🔎 Run cargo fmt + uses: actions-rs/cargo@v1 + with: + command: fmt + args: --all -- --check + test: + runs-on: ubuntu-latest + needs: + - lints strategy: matrix: node-version: [14.x] - steps: - name: Fetch source code - uses: actions/checkout@v2 - - name: Use Nix - uses: cachix/install-nix-action@v18 + uses: actions/checkout@v3 + + - name: Install nix + uses: cachix/install-nix-action@v22 + + - name: Set up cachix + uses: cachix/cachix-action@v12 with: - install_url: https://releases.nixos.org/nix/nix-2.12.0/install + name: holochain-ci + + - name: Build Nix packages + run: nix develop -c $SHELL -c "echo Nix packages built" + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Configure Nix substituters - run: | - set -xe - mkdir -p ~/.config/nix/ - cp ./.github/nix.conf ~/.config/nix/ - - name: Use cachix - uses: cachix/cachix-action@v10 + + - name: Restore zome build + uses: actions/cache/restore@v3 with: - name: holochain-ci - - name: Run all tests + path: | + .cargo + target + key: ${{ runner.os }}-build-happ-${{ hashFiles('Cargo.lock') }} + + - name: 🔎 Build happ + run: make nix-build + + - name: Save build to cache + uses: actions/cache/save@v3 + with: + path: | + .cargo + target + key: ${{ runner.os }}-build-happ-${{ hashFiles('Cargo.lock') }} + + - name: 🔎 Run all tests run: make nix-test diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fe208e5..8a059a8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: Main +name: Main CI and CD on: push: @@ -14,26 +14,35 @@ jobs: steps: - name: Fetch source code - uses: actions/checkout@v2 - - name: Use Nix - uses: cachix/install-nix-action@v18 + uses: actions/checkout@v3 + + - name: Install nix + uses: cachix/install-nix-action@v22 + + - name: Set up cachix + uses: cachix/cachix-action@v12 with: - install_url: https://releases.nixos.org/nix/nix-2.12.0/install + name: holochain-ci + + - name: Build Nix packages + run: nix develop -c $SHELL -c "echo Nix packages built" + - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - name: Configure Nix substituters - run: | - set -xe - mkdir -p ~/.config/nix/ - cp ./.github/nix.conf ~/.config/nix/ - - name: Use cachix - uses: cachix/cachix-action@v10 + + - name: Restore zome build + uses: actions/cache/restore@v3 with: - name: holochain-ci - - name: Build + path: | + .cargo + target + key: ${{ runner.os }}-build-happ-${{ hashFiles('Cargo.lock') }} + + - name: 🔎 Build happ run: make nix-build + - name: version run: | make version diff --git a/flake.lock b/flake.lock index 5fd016d..8adba83 100644 --- a/flake.lock +++ b/flake.lock @@ -17,6 +17,23 @@ "type": "github" } }, + "cargo-chef_2": { + "flake": false, + "locked": { + "lastModified": 1672901199, + "narHash": "sha256-MHTuR4aQ1rQaBKx1vWDy2wbvcT0ZAzpkVB2zylSC+k0=", + "owner": "LukeMathWalker", + "repo": "cargo-chef", + "rev": "5c9f11578a2e0783cce27666737d50f84510b8b5", + "type": "github" + }, + "original": { + "owner": "LukeMathWalker", + "ref": "main", + "repo": "cargo-chef", + "type": "github" + } + }, "cargo-rdme": { "flake": false, "locked": { @@ -34,6 +51,23 @@ "type": "github" } }, + "cargo-rdme_2": { + "flake": false, + "locked": { + "lastModified": 1675118998, + "narHash": "sha256-lrYWqu3h88fr8gG3Yo5GbFGYaq5/1Os7UtM+Af0Bg4k=", + "owner": "orium", + "repo": "cargo-rdme", + "rev": "f9dbb6bccc078f4869f45ae270a2890ac9a75877", + "type": "github" + }, + "original": { + "owner": "orium", + "ref": "v1.1.0", + "repo": "cargo-rdme", + "type": "github" + } + }, "crane": { "inputs": { "flake-compat": "flake-compat", @@ -58,6 +92,31 @@ "type": "github" } }, + "crane_2": { + "inputs": { + "flake-compat": "flake-compat_3", + "flake-utils": "flake-utils_2", + "nixpkgs": [ + "holonix", + "holochain", + "nixpkgs" + ], + "rust-overlay": "rust-overlay_2" + }, + "locked": { + "lastModified": 1675475924, + "narHash": "sha256-KWdfV9a6+zG6Ij/7PZYLnomjBZZUu8gdRy+hfjGrrJQ=", + "owner": "ipetkov", + "repo": "crane", + "rev": "1bde9c762ebf26de9f8ecf502357c92105bc4577", + "type": "github" + }, + "original": { + "owner": "ipetkov", + "repo": "crane", + "type": "github" + } + }, "crate2nix": { "flake": false, "locked": { @@ -74,6 +133,54 @@ "type": "github" } }, + "crate2nix_2": { + "flake": false, + "locked": { + "lastModified": 1675642992, + "narHash": "sha256-uDBDZuiq7qyg82Udp82/r4zg5HKfIzBQqgl2U9THiQM=", + "owner": "kolloch", + "repo": "crate2nix", + "rev": "45fc83132c8c91c77a1cd61fe0c945411d1edba8", + "type": "github" + }, + "original": { + "owner": "kolloch", + "repo": "crate2nix", + "type": "github" + } + }, + "empty": { + "flake": false, + "locked": { + "lastModified": 1683792623, + "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", + "owner": "steveej", + "repo": "empty", + "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", + "type": "github" + }, + "original": { + "owner": "steveej", + "repo": "empty", + "type": "github" + } + }, + "empty_2": { + "flake": false, + "locked": { + "lastModified": 1683792623, + "narHash": "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=", + "owner": "steveej", + "repo": "empty", + "rev": "8e328e450e4cd32e072eba9e99fe92cf2a1ef5cf", + "type": "github" + }, + "original": { + "owner": "steveej", + "repo": "empty", + "type": "github" + } + }, "flake-compat": { "flake": false, "locked": { @@ -106,6 +213,38 @@ "type": "github" } }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_4": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -123,6 +262,23 @@ "type": "indirect" } }, + "flake-parts_2": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib_2" + }, + "locked": { + "lastModified": 1675295133, + "narHash": "sha256-dU8fuLL98WFXG0VnRgM00bqKX6CEPBLybhiIDIgO45o=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "bf53492df08f3178ce85e0c9df8ed8d03c030c9f", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, "flake-utils": { "locked": { "lastModified": 1667395993, @@ -139,6 +295,21 @@ } }, "flake-utils_2": { + "locked": { + "lastModified": 1667395993, + "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_3": { "inputs": { "systems": "systems" }, @@ -156,8 +327,59 @@ "type": "github" } }, + "flake-utils_4": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1681202837, + "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "cfacdce06f30d2b68473a46042957675eebb3401", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "holochain": { - "flake": false, + "inputs": { + "cargo-chef": "cargo-chef_2", + "cargo-rdme": "cargo-rdme_2", + "crane": "crane_2", + "crate2nix": "crate2nix_2", + "empty": "empty_2", + "flake-compat": "flake-compat_4", + "flake-parts": "flake-parts_2", + "holochain": [ + "holonix", + "holochain", + "empty" + ], + "lair": [ + "holonix", + "holochain", + "empty" + ], + "launcher": [ + "holonix", + "holochain", + "empty" + ], + "nix-filter": "nix-filter", + "nixpkgs": "nixpkgs", + "pre-commit-hooks-nix": "pre-commit-hooks-nix", + "rust-overlay": "rust-overlay_3", + "scaffolding": [ + "holonix", + "holochain", + "empty" + ], + "versions": "versions" + }, "locked": { "lastModified": 1687913282, "narHash": "sha256-BDDVxX33NmLjhF4QPVQuQnqefWn93z80/ddaJypWGyw=", @@ -176,16 +398,33 @@ "holochain_2": { "flake": false, "locked": { - "lastModified": 1681507583, - "narHash": "sha256-lRnums2gv1oXVwo4gMF2QAnzEu8prwxg1uKjUzNwJV4=", + "lastModified": 1686257124, + "narHash": "sha256-SvXGHOr96ob/NfQCeVJ2J4LWc83qkZn+/pnE9qVNB+I=", "owner": "holochain", "repo": "holochain", - "rev": "ac50baed6b53e9d0552729e69e1e20312e4edc08", + "rev": "db5b8b27da3bf296958c3bf54ac3950dc60a39c8", "type": "github" }, "original": { "owner": "holochain", - "ref": "holochain-0.1.4", + "ref": "holochain-0.1.5", + "repo": "holochain", + "type": "github" + } + }, + "holochain_3": { + "flake": false, + "locked": { + "lastModified": 1684139928, + "narHash": "sha256-uno5MTiBwf9RiEiX6iKzJsB+3srJFKwV/1ReXzaZVVw=", + "owner": "holochain", + "repo": "holochain", + "rev": "a91b262e87653f5f2e3a50c06eaac2bb81fb88d3", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2.1-beta-dev.0", "repo": "holochain", "type": "github" } @@ -196,32 +435,36 @@ "cargo-rdme": "cargo-rdme", "crane": "crane", "crate2nix": "crate2nix", + "empty": "empty", "flake-compat": "flake-compat_2", "flake-parts": "flake-parts", "holochain": "holochain", - "lair": "lair", + "lair": [ + "holonix", + "empty" + ], "launcher": [ "holonix", - "versions", - "launcher" + "empty" ], - "nix-filter": "nix-filter", - "nixpkgs": "nixpkgs", - "pre-commit-hooks-nix": "pre-commit-hooks-nix", - "rust-overlay": "rust-overlay_2", + "nix-filter": "nix-filter_2", + "nixpkgs": "nixpkgs_2", + "pre-commit-hooks-nix": "pre-commit-hooks-nix_2", + "rust-overlay": "rust-overlay_4", "scaffolding": [ "holonix", - "versions", - "scaffolding" + "empty" ], - "versions": "versions" + "versions": [ + "versions" + ] }, "locked": { - "lastModified": 1683526865, - "narHash": "sha256-fMsIWyEDTuuJVLuvZy65UlRht3vBgyMMuTkUk0MsCGg=", + "lastModified": 1688192538, + "narHash": "sha256-PBjug6l7nFsH0a0kQ8t0C3ea+Sr11c1SCny0vP+UYSU=", "owner": "holochain", "repo": "holochain", - "rev": "25dddddb259692d302d1fad8501301e28220997d", + "rev": "8d6bae886526571b546bbb1e6974d7c00d07228e", "type": "github" }, "original": { @@ -250,16 +493,16 @@ "lair_2": { "flake": false, "locked": { - "lastModified": 1670953460, - "narHash": "sha256-cqOr7iWzsNeomYQiiFggzG5Dr4X0ysnTkjtA8iwDLAQ=", + "lastModified": 1682356264, + "narHash": "sha256-5ZYJ1gyyL3hLR8hCjcN5yremg8cSV6w1iKCOrpJvCmc=", "owner": "holochain", "repo": "lair", - "rev": "cbfbefefe43073904a914c8181a450209a74167b", + "rev": "43be404da0fd9d57bf4429c44def405bd6490f61", "type": "github" }, "original": { "owner": "holochain", - "ref": "lair_keystore-v0.2.3", + "ref": "lair_keystore-v0.2.4", "repo": "lair", "type": "github" } @@ -281,6 +524,23 @@ "type": "github" } }, + "launcher_2": { + "flake": false, + "locked": { + "lastModified": 1684183666, + "narHash": "sha256-rOE/W/BBYyZKOyypKb8X9Vpc4ty1TNRoI/fV5+01JPw=", + "owner": "holochain", + "repo": "launcher", + "rev": "75ecdd0aa191ed830cc209a984a6030e656042ff", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2", + "repo": "launcher", + "type": "github" + } + }, "nix-filter": { "locked": { "lastModified": 1675361037, @@ -296,13 +556,28 @@ "type": "github" } }, + "nix-filter_2": { + "locked": { + "lastModified": 1675361037, + "narHash": "sha256-CTbDuDxFD3U3g/dWUB+r+B/snIe+qqP1R+1myuFGe2I=", + "owner": "numtide", + "repo": "nix-filter", + "rev": "e1b2f96c2a31415f362268bc48c3fccf47dff6eb", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "nix-filter", + "type": "github" + } + }, "nixpkgs": { "locked": { - "lastModified": 1683408522, - "narHash": "sha256-9kcPh6Uxo17a3kK3XCHhcWiV1Yu1kYj22RHiymUhMkU=", + "lastModified": 1686869522, + "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "897876e4c484f1e8f92009fd11b7d988a121a4e7", + "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", "type": "github" }, "original": { @@ -329,6 +604,39 @@ "type": "github" } }, + "nixpkgs-lib_2": { + "locked": { + "dir": "lib", + "lastModified": 1675183161, + "narHash": "sha256-Zq8sNgAxDckpn7tJo7V1afRSk2eoVbu3OjI1QklGLNg=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e1e1b192c1a5aab2960bf0a0bd53a2e8124fa18e", + "type": "github" + }, + "original": { + "dir": "lib", + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1686869522, + "narHash": "sha256-tbJ9B8WLCTnVP/LwESRlg0dII6Zyg2LmUU/mB9Lu98E=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "7c67f006ea0e7d0265f16d7df07cc076fdffd91f", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, "pre-commit-hooks-nix": { "flake": false, "locked": { @@ -345,13 +653,30 @@ "type": "github" } }, + "pre-commit-hooks-nix_2": { + "flake": false, + "locked": { + "lastModified": 1676513100, + "narHash": "sha256-MK39nQV86L2ag4TmcK5/+r1ULpzRLPbbfvWbPvIoYJE=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "5f0cba88ac4d6dd8cad5c6f6f1540b3d6a21a798", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, "root": { "inputs": { "holonix": "holonix", "nixpkgs": [ "holonix", "nixpkgs" - ] + ], + "versions": "versions_2" } }, "rust-overlay": { @@ -383,18 +708,70 @@ }, "rust-overlay_2": { "inputs": { - "flake-utils": "flake-utils_2", + "flake-utils": [ + "holonix", + "holochain", + "crane", + "flake-utils" + ], "nixpkgs": [ "holonix", + "holochain", + "crane", "nixpkgs" ] }, "locked": { - "lastModified": 1683512408, - "narHash": "sha256-QMJGp/37En+d5YocJuSU89GL14bBYkIJQ6mqhRfqkkc=", + "lastModified": 1675391458, + "narHash": "sha256-ukDKZw922BnK5ohL9LhwtaDAdCsJL7L6ScNEyF1lO9w=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "75b07756c3feb22cf230e75fb064c1b4c725b9bc", + "rev": "383a4acfd11d778d5c2efcf28376cbd845eeaedf", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_3": { + "inputs": { + "flake-utils": "flake-utils_3", + "nixpkgs": [ + "holonix", + "holochain", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1687833260, + "narHash": "sha256-1AC7fV+u2C6uGn+t36W6XuE3Bfg/ZXMkr/yPogdtnVg=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "8af5d21ba69012d1cafaea3da40ac902e744a369", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "rust-overlay_4": { + "inputs": { + "flake-utils": "flake-utils_4", + "nixpkgs": [ + "holonix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1688178944, + "narHash": "sha256-4fef6jlv73WW6FLXssEa88WaTVEU268ipI6fatg9vRE=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "ef95001485c25edb43ea236bdb03640b9073abef", "type": "github" }, "original": { @@ -406,11 +783,11 @@ "scaffolding": { "flake": false, "locked": { - "lastModified": 1682016510, - "narHash": "sha256-U6V453QPUGI6PhtO7kkQCFxEB9WZPiU6hjwyPUdEHaE=", + "lastModified": 1686617155, + "narHash": "sha256-ZeWnh27JNb/abu/ii8e3u4DHns49MOFMNXGPGFPqS0k=", "owner": "holochain", "repo": "scaffolding", - "rev": "85997cbc4c92f0fea87447d7c7daed1245b47700", + "rev": "861397c975542306be6d8529e5c6bdb21c7ba6a6", "type": "github" }, "original": { @@ -420,6 +797,23 @@ "type": "github" } }, + "scaffolding_2": { + "flake": false, + "locked": { + "lastModified": 1683890859, + "narHash": "sha256-/nG2TGU4Q7zy0KGS/opcW1836LZ7FJhA+/OEh5gNj34=", + "owner": "holochain", + "repo": "scaffolding", + "rev": "1ca1092ad5d147bd23a75444874830cc033aa9cf", + "type": "github" + }, + "original": { + "owner": "holochain", + "ref": "holochain-0.2", + "repo": "scaffolding", + "type": "github" + } + }, "systems": { "locked": { "lastModified": 1681028828, @@ -435,16 +829,31 @@ "type": "github" } }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "versions": { "inputs": { "holochain": "holochain_2", - "lair": "lair_2", + "lair": "lair", "launcher": "launcher", "scaffolding": "scaffolding" }, "locked": { - "lastModified": 1682016678, - "narHash": "sha256-LeDONDrsLwNRhoJVy/bHAR0nGgeGnc3OTGTvxeR3e5I=", + "lastModified": 1686618210, + "narHash": "sha256-lXY9ob0WAekcoEgWcFL3cJiPkwoKlsR2OMqG0S3vXzA=", "path": "./versions/0_1", "type": "path" }, @@ -454,6 +863,29 @@ "repo": "holochain", "type": "github" } + }, + "versions_2": { + "inputs": { + "holochain": "holochain_3", + "lair": "lair_2", + "launcher": "launcher_2", + "scaffolding": "scaffolding_2" + }, + "locked": { + "dir": "versions/0_2", + "lastModified": 1688192538, + "narHash": "sha256-PBjug6l7nFsH0a0kQ8t0C3ea+Sr11c1SCny0vP+UYSU=", + "owner": "holochain", + "repo": "holochain", + "rev": "8d6bae886526571b546bbb1e6974d7c00d07228e", + "type": "github" + }, + "original": { + "dir": "versions/0_2", + "owner": "holochain", + "repo": "holochain", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 6cdbc5e..78c8f2a 100644 --- a/flake.nix +++ b/flake.nix @@ -1,13 +1,11 @@ { - description = "Template for Holochain app development"; - # this can now be udpated directly, e.g.: - # nix flake lock --override-input holochain github:holochain/holochain/holochain-0.1.3 - inputs = { + nixpkgs.follows = "holonix/nixpkgs"; + + versions.url = "github:holochain/holochain?dir=versions/0_2"; holonix.url = "github:holochain/holochain"; + holonix.inputs.versions.follows = "versions"; holonix.inputs.holochain.url = "github:holochain/holochain/holochain-0.3.0-beta-dev.6"; - holonix.inputs.lair.url = "github:holochain/lair/lair_keystore-v0.2.4"; - nixpkgs.follows = "holonix/nixpkgs"; }; outputs = inputs@{ holonix, ... }: @@ -18,12 +16,12 @@ perSystem = { config, system, pkgs, ... }: { devShells.default = pkgs.mkShell { - inputsFrom = [ holonix.devShells.${system}.holonix ]; + inputsFrom = [ holonix.devShells.${system}.holochainBinaries ]; packages = with pkgs; [ # add further packages from nixpkgs - nodejs binaryen + nodejs binaryen ]; }; }; }; -} \ No newline at end of file +}