install sed for ci using nix develop 2
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Salar Rahmanian 2024-02-17 10:59:54 -08:00
parent eabd738cb4
commit 5f5cab251c

View file

@ -3,7 +3,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 develop nixpkgs#gnused --command sed -i 's/base_url = "https:\/\/www.softinio.com"/base_url = "https:\/\/${CI_COMMIT_SOURCE_BRANCH}.softinio.com"/' ./config.toml - nix develop nixpkgs#gnused --command bash -c "sed -i 's/base_url = "https:\/\/www.softinio.com"/base_url = "https:\/\/${CI_COMMIT_SOURCE_BRANCH}.softinio.com"/' ./config.toml"
- nix build - nix build
- nix flake show - nix flake show
- ls result - ls result