use nix run

This commit is contained in:
Alex 2022-12-01 17:07:22 +01:00
parent ee18ddcebc
commit 4bbedc7ae8
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE

View file

@ -9,7 +9,7 @@ steps:
- name: check formatting
image: nixpkgs/nix:nixos-22.05
commands:
- nix-shell -p cargo --run "cargo fmt -- --check"
- nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixos/nixpkgs/nixos-22.05#cargo fmt -- --check
- name: build
image: nixpkgs/nix:nixos-22.05
@ -33,6 +33,6 @@ trigger:
---
kind: signature
hmac: c99528a32d4c9f5016e6143e08291c99a8b248880f7dc3ee3550803e16cd28ad
hmac: 38bfdf1a2cd55171dfdf023936ba2b3caeddd7a836b44a481fd23c7a0291d0ad
...