install sed for ci using nix develop 3
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
5f5cab251c
commit
f1f147ec26
|
@ -3,7 +3,8 @@ steps:
|
|||
image: nixos/nix
|
||||
commands:
|
||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||
- 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 profile install nixpkgs#gnused --impure
|
||||
- sed -i 's/base_url = "https:\/\/www.softinio.com"/base_url = "https:\/\/${CI_COMMIT_SOURCE_BRANCH}.softinio.com"/' ./config.toml
|
||||
- nix build
|
||||
- nix flake show
|
||||
- ls result
|
||||
|
|
Loading…
Reference in a new issue