Merge pull request #12323 from kragniz/rkt-v0.15.0

rkt: 0.14.0 -> 0.15.0

+14 -6
+2
nixos/modules/virtualisation/rkt.nix
··· 58 58 ExecStart = "${pkgs.rkt}/bin/rkt gc ${cfg.gc.options}"; 59 59 }; 60 60 }; 61 + 62 + users.extraGroups.rkt = {}; 61 63 }; 62 64 }
+12 -6
pkgs/applications/virtualization/rkt/default.nix
··· 1 - { stdenv, lib, autoconf, automake, go, file, git, wget, gnupg1, squashfsTools, cpio 2 - , fetchurl, fetchFromGitHub }: 1 + { stdenv, lib, autoreconfHook, acl, go, file, git, wget, gnupg1, squashfsTools, 2 + cpio, fetchurl, fetchFromGitHub, iptables, systemd, makeWrapper }: 3 3 4 4 let 5 5 coreosImageRelease = "794.1.0"; 6 6 coreosImageSystemdVersion = "222"; 7 7 8 8 # TODO: track https://github.com/coreos/rkt/issues/1758 to allow "host" flavor. 9 - stage1Flavours = [ "coreos" "fly" ]; 9 + stage1Flavours = [ "coreos" "fly" "host" ]; 10 10 11 11 in stdenv.mkDerivation rec { 12 - version = "0.14.0"; 12 + version = "0.15.0"; 13 13 name = "rkt-${version}"; 14 14 BUILDDIR="build-${name}"; 15 15 ··· 17 17 rev = "v${version}"; 18 18 owner = "coreos"; 19 19 repo = "rkt"; 20 - sha256 = "0dmgs9s40xhan2rh9f5n0k5gv8p2dn946zffq02sq35qqvi67s71"; 20 + sha256 = "1pw14r38p8sdkma37xx0yy3zx5yxqc12zj35anmlbmrgw4vdgavf"; 21 21 }; 22 22 23 23 stage1BaseImage = fetchurl { ··· 25 25 sha256 = "05nzl3av6cawr8v203a8c95c443g6h1nfy2n4jmgvn0j4iyy44ym"; 26 26 }; 27 27 28 - buildInputs = [ autoconf automake go file git wget gnupg1 squashfsTools cpio ]; 28 + buildInputs = [ 29 + autoreconfHook go file git wget gnupg1 squashfsTools cpio acl systemd 30 + makeWrapper 31 + ]; 29 32 30 33 preConfigure = '' 31 34 ./autogen.sh ··· 45 48 installPhase = '' 46 49 mkdir -p $out/bin 47 50 cp -Rv $BUILDDIR/bin/* $out/bin 51 + wrapProgram $out/bin/rkt \ 52 + --prefix LD_LIBRARY_PATH : ${systemd}/lib \ 53 + --prefix PATH : ${iptables}/bin 48 54 ''; 49 55 50 56 meta = with lib; {