infra/derivations/dev/rkt.nix

44 lines
663 B
Nix
Raw Normal View History

2015-10-23 01:26:53 +02:00
{
pkgs ? import /home/steveej/src/github/NixOS/nixpkgs-systemsource {},
mkGoEnv ? import ./go.nix,
}:
let
rktBasebuildInputs = with pkgs; [
stdenv.glibc.out
stdenv.glibc.static
autoreconfHook
2015-10-23 01:26:53 +02:00
gnupg1
squashfsTools
cpio
tree
intltool
libtool
pkgconfig
libgcrypt
gperf
libcap
libseccomp
libzip
eject
iptables
bc
acl
];
in {
go15 = mkGoEnv {
inherit pkgs;
name = "rktGo15";
2016-06-28 11:39:21 -07:00
version = "1_5";
2015-10-23 01:26:53 +02:00
extraBuildInputs = rktBasebuildInputs;
};
go16 = mkGoEnv {
inherit pkgs;
name = "rktGo16";
2016-06-28 11:39:21 -07:00
version = "1_6";
2015-10-23 01:26:53 +02:00
extraBuildInputs = rktBasebuildInputs;
};
}