try using nix store 2

This commit is contained in:
Vivian 2023-05-12 15:11:48 +02:00
parent eed044295d
commit f46e8e9649

View file

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