From 0c66fa4a0bf3a8a8dcd992747e0aa04a149c9e54 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Fri, 25 Oct 2024 16:34:01 -0700 Subject: [PATCH] #17 Set nix_path to nixos-24.05, add Run deploy-rs from flake, trigger workflow --- .gitea/workflows/silver-hand-deploy.yaml | 6 +++++- nix/nix-lab/flake.nix | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/silver-hand-deploy.yaml b/.gitea/workflows/silver-hand-deploy.yaml index 32ad2283..3341f9fe 100644 --- a/.gitea/workflows/silver-hand-deploy.yaml +++ b/.gitea/workflows/silver-hand-deploy.yaml @@ -18,7 +18,11 @@ jobs: uses: cachix/install-nix-action@v30 with: github_access_token: ${{ secrets.RUNNER_GITHUB_TOKEN }} + nix_path: nixpkgs=channel:nixos-24.05 - name: Check Nix Install run: | nix flake show github:NixOS/nixpkgs - nix --version \ No newline at end of file + nix --version + - name: Run deploy-rs from flake + run: | + nix run github:serokell/deploy-rs#defaultPackage.x86_64-linux -- --version \ No newline at end of file diff --git a/nix/nix-lab/flake.nix b/nix/nix-lab/flake.nix index 98f71b36..7e6b9e7a 100644 --- a/nix/nix-lab/flake.nix +++ b/nix/nix-lab/flake.nix @@ -12,7 +12,7 @@ inputs.nixpkgs.follows = "nixpkgs"; }; }; - outputs = inputs@{ self, nixpkgs, deploy-rs, home-manager, ... }: + outputs = inputs@{ self, nixpkgs, deploy-rs, ... }: let system = "x86_64-linux"; pkgs = import inputs.nixpkgs {