mirror of
https://github.com/containers/podman
synced 2024-10-19 08:44:11 +00:00
Update nix pin with make nixpkgs
Also backport changes from https://github.com/cri-o/cri-o/pull/4065/files#diff-1d37e48f9ceff6d8030570cd36286a61R189-R197 Signed-off-by: Wong Hoi Sing Edison <hswong3i@gmail.com>
This commit is contained in:
parent
f84f441bec
commit
6ad67cd6c1
|
@ -594,12 +594,14 @@ static_build_task:
|
|||
mv .cache /nix
|
||||
if [[ -z $(ls -A /nix) ]]; then podman run --rm --privileged -ti -v /:/mnt nixos/nix cp -rfT /nix /mnt/nix; fi
|
||||
podman run --rm --privileged -ti -v /nix:/nix -v ${PWD}:${PWD} -w ${PWD} nixos/nix nix --print-build-logs --option cores 8 --option max-jobs 8 build --file nix/
|
||||
mv /nix .cache
|
||||
chown -Rf $(whoami) .cache
|
||||
|
||||
binaries_artifacts:
|
||||
path: "result/bin/podman"
|
||||
|
||||
save_cache_script: |
|
||||
mv /nix .cache
|
||||
chown -Rf $(whoami) .cache
|
||||
|
||||
|
||||
darwin_build_task:
|
||||
depends_on:
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"url": "https://github.com/nixos/nixpkgs",
|
||||
"rev": "5f212d693fe1c82f9c7e20cd57bc69802b36a321",
|
||||
"date": "2020-08-22T01:42:23+02:00",
|
||||
"sha256": "1h3819ppllcpw07j884bjh07sma07vrrk1md92sf93cg43nmzncf",
|
||||
"rev": "d5a689edda8219a1e20fd3871174b994cf0a94a3",
|
||||
"date": "2020-09-13T01:58:20+02:00",
|
||||
"sha256": "0m6nmi1fx0glfbg52kqdjgidxylk4p5xnx9v35wlsfi1j2xhkia4",
|
||||
"fetchSubmodules": false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue