nix(fix): Fix postgrest-push-cachix in nix-shell --pure
This commit is contained in:
committed by
Wolfgang Walther
parent
b566481477
commit
7ca0d46936
@@ -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 =
|
||||||
|
|||||||
Reference in New Issue
Block a user