Compare commits

...

1 commit

Author SHA1 Message Date
jopejoe1
023b59a969 use nix develop
Some checks failed
ci/woodpecker/pr/cargo_check Pipeline failed
ci/woodpecker/pr/cargo_clippy Pipeline failed
ci/woodpecker/pr/cargo_test Pipeline failed
ci/woodpecker/pr/check_fmt Pipeline failed
2025-04-07 13:31:07 +02:00
4 changed files with 4 additions and 3 deletions

View file

@ -6,7 +6,7 @@ steps:
image: nixos/nix image: nixos/nix
commands: commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix shell --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt github:nixos/nixpkgs/nixos-unstable#cargo github:nixos/nixpkgs/nixos-unstable#gcc - nix develop --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt
- cargo check --workspace --all-targets - cargo check --workspace --all-targets
volumes: volumes:
- /nix:/mnt/nix:ro - /nix:/mnt/nix:ro

View file

@ -6,7 +6,7 @@ steps:
image: docker.nix-community.org/nixpkgs/nix-flakes image: docker.nix-community.org/nixpkgs/nix-flakes
commands: commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix shell --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt github:nixos/nixpkgs/nixos-unstable#clippy github:nixos/nixpkgs/nixos-unstable#cargo github:nixos/nixpkgs/nixos-unstable#gcc - nix develop --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt
- cargo clippy - cargo clippy
volumes: volumes:
- /nix:/mnt/nix:ro - /nix:/mnt/nix:ro

View file

@ -6,7 +6,7 @@ steps:
image: docker.nix-community.org/nixpkgs/nix-flakes image: docker.nix-community.org/nixpkgs/nix-flakes
commands: commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf - echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix shell --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt github:nixos/nixpkgs/nixos-unstable#cargo github:nixos/nixpkgs/nixos-unstable#gcc - nix develop --store unix:///mnt/nix/var/nix/daemon-socket/socket?root=/mnt
- cargo test --workspace --all-targets - cargo test --workspace --all-targets
volumes: volumes:
- /nix:/mnt/nix:ro - /nix:/mnt/nix:ro

View file

@ -26,6 +26,7 @@
nodejs nodejs
cargo cargo
clippy clippy
gcc
]; ];
}; };
} }