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