From 1fbe51c4ce5ff93da322830166d2e4e520dff353 Mon Sep 17 00:00:00 2001 From: Zuckerberg Date: Sat, 29 Apr 2023 18:19:16 -0600 Subject: [PATCH] try to not use hardcoded path --- .gitea/workflows/check-flake.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/check-flake.yaml b/.gitea/workflows/check-flake.yaml index 95f84c1..2431323 100644 --- a/.gitea/workflows/check-flake.yaml +++ b/.gitea/workflows/check-flake.yaml @@ -4,11 +4,11 @@ on: [push] env: DEBIAN_FRONTEND: noninteractive - PATH: /run/current-system/sw/bin/:/nix/var/nix/profiles/per-user/gitea-runner/profile/bin + # PATH: /run/current-system/sw/bin/:/nix/var/nix/profiles/per-user/gitea-runner/profile/bin -# defaults: -# run: -# shell: nix shell nixpkgs#nodejs-18_x +defaults: + run: + shell: /run/current-system/sw/bin/nix shell nixpkgs#nodejs-18_x jobs: check-flake: @@ -23,8 +23,8 @@ jobs: # with: # github_access_token: ${{ secrets.__GITHUB_TOKEN }} - - name: Install dependencies - run: nix profile install nixpkgs#nodejs-18_x + # - name: Install dependencies + # run: nix profile install nixpkgs#nodejs-18_x - name: Checkout the repository uses: actions/checkout@v3