buildah: 0.12 -> 1.1
This commit is contained in:
parent
220459858b
commit
8e98630267
@ -1,15 +1,15 @@
|
|||||||
{ stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub, runCommand
|
||||||
, gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux
|
, gpgme, libgpgerror, devicemapper, btrfs-progs, pkgconfig, ostree, libselinux, libseccomp
|
||||||
, go-md2man }:
|
, go-md2man }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "0.12";
|
version = "1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "projectatomic";
|
owner = "projectatomic";
|
||||||
repo = "buildah";
|
repo = "buildah";
|
||||||
sha256 = "0xyq7rv0lj6bxwh2rnf44w9gjcqbdkfcdff88023b9vlsc8h4k0m";
|
sha256 = "0pc7bzcaafrz56glygzhnbilgaz4ca2kmklw8njfgamffbw4d54p";
|
||||||
};
|
};
|
||||||
goPackagePath = "github.com/projectatomic/buildah";
|
goPackagePath = "github.com/projectatomic/buildah";
|
||||||
|
|
||||||
@ -22,8 +22,11 @@ in buildGoPackage rec {
|
|||||||
inherit goPackagePath;
|
inherit goPackagePath;
|
||||||
excludedPackages = [ "tests" ];
|
excludedPackages = [ "tests" ];
|
||||||
|
|
||||||
|
# Optimizations break compilation of libseccomp c bindings
|
||||||
|
hardeningDisable = [ "fortify" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig go-md2man.bin ];
|
nativeBuildInputs = [ pkgconfig go-md2man.bin ];
|
||||||
buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux ];
|
buildInputs = [ gpgme libgpgerror devicemapper btrfs-progs ostree libselinux libseccomp ];
|
||||||
|
|
||||||
# Copied from the skopeo package, doesn’t seem to make a difference?
|
# Copied from the skopeo package, doesn’t seem to make a difference?
|
||||||
# If something related to these libs failed, uncomment these lines.
|
# If something related to these libs failed, uncomment these lines.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user