diff options
author | Sascha Grunert <mail@saschagrunert.de> | 2021-01-25 12:02:22 +0100 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2021-02-01 10:17:29 -0500 |
commit | bf0eb84f8bc54063797f450bdb85d61ce22f2683 (patch) | |
tree | 2e5584e82dc7c792cc698f88065477ffc50b7fa3 /nix | |
parent | 745fa4ac94c3ec99becd85f59d1b59c2c9765527 (diff) | |
download | podman-bf0eb84f8bc54063797f450bdb85d61ce22f2683.tar.gz podman-bf0eb84f8bc54063797f450bdb85d61ce22f2683.tar.bz2 podman-bf0eb84f8bc54063797f450bdb85d61ce22f2683.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 |