mirror of
https://github.com/containers/podman
synced 2024-10-19 08:44:11 +00:00
c21258b70e
We’re now able to build a static podman binary based on a custom nix derivation. This is integrated in cirrus as well, whereas a later target would be to provide a self-contained static binary bundle which can be installed on any Linux x64-bit system. Fixes: https://github.com/containers/libpod/issues/1399 Signed-off-by: Sascha Grunert <sgrunert@suse.com>
9 lines
236 B
Nix
9 lines
236 B
Nix
let
|
|
json = builtins.fromJSON (builtins.readFile ./nixpkgs.json);
|
|
nixpkgs = import (builtins.fetchTarball {
|
|
name = "nixos-unstable";
|
|
url = "${json.url}/archive/${json.rev}.tar.gz";
|
|
inherit (json) sha256;
|
|
});
|
|
in nixpkgs
|