try using nix store 1

This commit is contained in:
Vivian 2023-05-12 15:03:50 +02:00
parent a24dbbe1a1
commit eed044295d

View file

@ -3,9 +3,8 @@ pipeline:
image: nixos/nix:2.15.0
environment:
- NIX_CONFIG=experimental-features = nix-command flakes
- NIX_STORE_DIR=unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt
commands:
- nix run 'nixpkgs#statix' check
- nix run --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt 'nixpkgs#statix' check
- nix run 'nixpkgs#deadnix' -- -f
- nix run 'nixpkgs#yamllint' .
volumes: