nix: Make postgrest-push-cachix more efficient by passing each derivation only once

This commit is contained in:
Wolfgang Walther
2024-02-06 10:20:02 +01:00
parent ea02729ebd
commit 74d8ddec36
+1 -3
View File
@@ -55,9 +55,7 @@ let
} }
'' ''
${nix}/bin/nix-instantiate \ ${nix}/bin/nix-instantiate \
| while read -r drv; do | xargs ${nix}/bin/nix-store -qR --include-outputs \
${nix}/bin/nix-store -qR --include-outputs "$drv"
done \
| ${cachix}/bin/cachix push postgrest | ${cachix}/bin/cachix push postgrest
''; '';