diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2021-01-25 12:02:22 +0100 |
---|---|---|
committer | Sascha Grunert <mail@saschagrunert.de> | 2021-01-27 16:15:23 +0100 |
commit | f8bf509d16edaf9016d0b73265b3159c9bcaa223 (patch) | |
tree | 6e1580c3d67a743ac481f5962d63bd41f91a46ff /nix | |
parent | 479fc226044b745ecaafc2d5fa925afe6ca06de0 (diff) | |
download | podman-f8bf509d16edaf9016d0b73265b3159c9bcaa223.tar.gz podman-f8bf509d16edaf9016d0b73265b3159c9bcaa223.tar.bz2 podman-f8bf509d16edaf9016d0b73265b3159c9bcaa223.zip |
Fix static build cache by using cachix
It looks like we always hit the caching issue in Cirrus CI described
within #8313. A solution around that is to use cachix, which has been
pre-populated from my local machine.
To push all (runtime and build) dependencies, we can leverage a
pre-populated store by:
```
> nix-store -qR --include-outputs $(nix-instantiate nix/default.nix) | cachix push podman
```
The cache can be re-used by everybody to rapidly build static Podman
binaries: https://app.cachix.org/cache/podman
[NO TESTS NEEDED]
Signed-off-by: Sascha Grunert <mail@saschagrunert.de>
Diffstat (limited to 'nix')
-rw-r--r-- | nix/nixpkgs.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nix/nixpkgs.json b/nix/nixpkgs.json index d304de536..0cfb251f2 100644 --- a/nix/nixpkgs.json +++ b/nix/nixpkgs.json @@ -1,9 +1,9 @@ { "url": "https://github.com/nixos/nixpkgs", - "rev": "4a75203f0270f96cbc87f5dfa5d5185690237d87", - "date": "2020-12-29T03:18:48+01:00", - "path": "/nix/store/scswsm6r4jnhp9ki0f6s81kpj5x6jkn7-nixpkgs", - "sha256": "0h70fm9aa7s06wkalbadw70z5rscbs3p6nblb47z523nhlzgjxk9", + "rev": "ce7b327a52d1b82f82ae061754545b1c54b06c66", + "date": "2021-01-25T11:28:05+01:00", + "path": "/nix/store/dpsa6a1sy8hwhwjkklc52brs9z1k5fx9-nixpkgs", + "sha256": "1rc4if8nmy9lrig0ddihdwpzg2s8y36vf20hfywb8hph5hpsg4vj", "fetchSubmodules": false, "deepClone": false, "leaveDotGit": false |