Skip to content

gh-actions: fix typo #21

gh-actions: fix typo

gh-actions: fix typo #21

Workflow file for this run

name: "flake check"
on:
push:
branches: [ main ]
tags: [ '*' ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target: [ "unstable", "stable" ]
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- name: patch stable
if: matrix.target == 'stable'
run: |
sed -i flake.nix \
-e 's|url = "github:NixOS/nixpkgs/nixos-unstable"|follows = "nixpkgs-stable"|g' \
-e 's|url = "github:nix-community/home-manager"|follows = "home-manager-stable"|g' \
-e 's|url = "github:nix-community/nixvim|follows = "nixvim-stable"|g'
- run: nix build -L