ci: Use outPath

This commit is contained in:
kat witch 2021-05-19 12:30:58 +01:00
parent 68edcfddcd
commit 69189e80be
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ with lib; {
chmod 0600 ~/.ssh/id_rsa
for source in ${toString (attrNames sources)}; do
if nix run -f . pkgs.niv -c niv update $source; then
echo $(nix eval --raw "(import ./.).sources.$source") | ${cachix}/bin/cachix push kittywitch
echo $(nix eval --raw "(import ./.).sources.$source.outPath") | ${cachix}/bin/cachix push kittywitch
fi
done
cachix push kittywitch $(nix eval --raw -f ../. sourceCache)