forked from wurzel/fruitbasket
using modern nix
This commit is contained in:
parent
3395b47405
commit
01129ebf17
1 changed files with 3 additions and 1 deletions
4
.github/workflows/fmt.yaml
vendored
4
.github/workflows/fmt.yaml
vendored
|
@ -10,7 +10,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-flake:
|
check-flake:
|
||||||
name: Check Flake
|
name: Nixpkgs Formatting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -21,8 +21,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
|
|
||||||
- run: nix-channel --list
|
- run: nix-channel --list
|
||||||
- run: nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
|
- run: nix-channel --add https://nixos.org/channels/nixos-22.11 nixos
|
||||||
- run: nix-channel --update
|
- run: nix-channel --update
|
||||||
- run: nix-channel --list
|
- run: nix-channel --list
|
||||||
|
- run: nix shell nixpkgs#nixpkgs-fmt -c nixpkgs-fmt . --check
|
||||||
- run: nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt . --check'
|
- run: nix-shell -p nixpkgs-fmt --run 'nixpkgs-fmt . --check'
|
||||||
|
|
Loading…
Add table
Reference in a new issue