podman: switch to buildGoModule
This commit is contained in:
parent
aade6fc7b0
commit
1ad3b685f4
1 changed files with 3 additions and 4 deletions
|
@ -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