diff --git a/default.nix b/default.nix index e0306be5..3d57a5d9 100644 --- a/default.nix +++ b/default.nix @@ -27,6 +27,7 @@ makeScript { __nixpkgs__.git __nixpkgs__.gnutar __nixpkgs__.gzip + __nixpkgs__.nixStable __nixpkgs__.python38 ]; }; diff --git a/src/cli/main/__main__.py b/src/cli/main/__main__.py index 55abf1af..5ad0bfcc 100644 --- a/src/cli/main/__main__.py +++ b/src/cli/main/__main__.py @@ -378,11 +378,9 @@ def cache_push(cache: List[Dict[str, str]], out: str) -> None: for config in cache: if config["type"] == "cachix" and "CACHIX_AUTH_TOKEN" in environ: _log("Pushing to cache") - _, stdout, _ = _run(["nix-store", "-qR", out]) _run( - args=["cachix", "push", "-c", "0", config["name"]], + args=["cachix", "push", "-c", "0", config["name"], out], capture_io=False, - stdin=stdout, ) return