mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
podman: switch to buildGoModule
This commit is contained in:
parent
aade6fc7b0
commit
1ad3b685f4
|
@ -2,7 +2,7 @@
|
|||
, fetchFromGitHub
|
||||
, pkg-config
|
||||
, installShellFiles
|
||||
, buildGoPackage
|
||||
, buildGoModule
|
||||
, gpgme
|
||||
, lvm2
|
||||
, btrfs-progs
|
||||
|
@ -12,7 +12,7 @@
|
|||
, nixosTests
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
buildGoModule rec {
|
||||
pname = "podman";
|
||||
version = "1.9.2";
|
||||
|
||||
|
@ -23,7 +23,7 @@ buildGoPackage rec {
|
|||
sha256 = "0jvqzn1q52z6aka98d2i3dyn2i8xld7xvmi2zfxgm9g53wdgi2g2";
|
||||
};
|
||||
|
||||
goPackagePath = "github.com/containers/libpod";
|
||||
vendorSha256 = null;
|
||||
|
||||
outputs = [ "out" "man" ];
|
||||
|
||||
|
@ -32,7 +32,6 @@ buildGoPackage rec {
|
|||
buildInputs = stdenv.lib.optionals stdenv.isLinux [ btrfs-progs libseccomp gpgme lvm2 systemd ];
|
||||
|
||||
buildPhase = ''
|
||||
pushd go/src/${goPackagePath}
|
||||
patchShebangs .
|
||||
${if stdenv.isDarwin
|
||||
then "make CGO_ENABLED=0 BUILDTAGS='remoteclient containers_image_openpgp exclude_graphdriver_devicemapper' varlink_generate all"
|
||||
|
|
Loading…
Reference in a new issue