nix(fix): Fix postgrest-push-cachix in nix-shell --pure

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent b566481477
commit 7ca0d46936
+5 -3
View File
@@ -1,10 +1,12 @@
{ buildToolbox { buildToolbox
, cabal-install , cabal-install
, cachix
, checkedShellScript , checkedShellScript
, devCabalOptions , devCabalOptions
, entr , entr
, graphviz , graphviz
, hsie , hsie
, nix
, silver-searcher , silver-searcher
, style , style
, tests , tests
@@ -48,11 +50,11 @@ let
inRootDir = true; inRootDir = true;
} }
'' ''
nix-instantiate \ ${nix}/bin/nix-instantiate \
| while read -r drv; do | while read -r drv; do
nix-store -qR --include-outputs "$drv" ${nix}/bin/nix-store -qR --include-outputs "$drv"
done \ done \
| cachix push postgrest | ${cachix}/bin/cachix push postgrest
''; '';
build = build =