commit 68b3674d911180b22018f11e50ec2265f0139ec3 parent 05d9fe21660dcb9e5af9269780aeb535ce5a5c30 Author: MTRNord <mtrnord1@gmail.com> Date: Sat, 30 Sep 2023 21:44:39 +0200 Set NIX_PATH Diffstat:
| M | .github/workflows/CI.yml | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml @@ -62,7 +62,7 @@ jobs: target: aarch64-unknown-linux-gnu build: |- set -e && - nix-shell -p pkg-config openssl gnumake autoconf automake libtool protobufc pcre clang gcc napi-rs-cli --keep YARA_LIBRARY_PATH --keep YARA_INCLUDE_DIR --keep LIBCLANG_PATH --keep BINDGEN_EXTRA_CLANG_ARGS --run "napi build --platform --release --target aarch64-unknown-linux-gnu" && + NIX_PATH=nixpkgs=flake:nixpkgs nix-shell -p pkg-config openssl gnumake autoconf automake libtool protobufc pcre clang gcc napi-rs-cli --keep YARA_LIBRARY_PATH --keep YARA_INCLUDE_DIR --keep LIBCLANG_PATH --keep BINDGEN_EXTRA_CLANG_ARGS --run "napi build --platform --release --target aarch64-unknown-linux-gnu" && aarch64-unknown-linux-gnu-strip *.node name: stable - ${{ matrix.settings.target }} - node@18 runs-on: ${{ matrix.settings.host }} @@ -112,10 +112,6 @@ jobs: check-latest: true cache: yarn architecture: x86 - - uses: cachix/install-nix-action@v22 - if: ${{ matrix.settings.host == 'arm64' }} - with: - nix_path: nixpkgs=channel:nixos-23-05 - name: Build run: ${{ matrix.settings.build }} shell: bash