git.iko.soy/typeable/nixpkgs
on master help sign in
Init Centos 7.4 vmTools diskImage

This commit adds the CentOS 7.4 base image from the CentOS mirror, for use with building RPMs or evaluating Nix expressions in a CentOS image. When CentOS 7.5 comes out, I will swap this URL to the permanently vaulted image.

commitb1ec502c1e9c4909b3e9b0b40f2123353270eae0 authorBenjamin Hipple <bhipple@protonmail.com> dateMon 27 Nov 2017, 22:06 (9 years ago) parente001bd2
1 file changed+13
pkgs/build-support/vm/default.nix+13
pkgs/build-support/vm/default.nix+13
@@ -1322,6 +1322,19 @@ rec {
13221322 archs = ["noarch" "x86_64"];
13231323 packages = commonCentOSPackages ++ [ "procps-ng" ];
13241324 };
1325+
1326+ centos74x86_64 = rec {
1327+ name = "centos-7.4-x86_64";
1328+ fullName = "CentOS 7.4 (x86_64)";
1329+ # N.B. Switch to vault.centos.org when the next release comes out
1330+ urlPrefix = http://mirror.centos.org/centos-7/7.4.1708/os/x86_64;
1331+ packagesList = fetchurl {
1332+ url = "${urlPrefix}/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz";
1333+ sha256 = "1mayp4f3nzd8n4wa3hsz4lk8p076djkvk1wkdmjkwcipyfhd71mn";
1334+ };
1335+ archs = ["noarch" "x86_64"];
1336+ packages = commonCentOSPackages ++ [ "procps-ng" ];
1337+ };
13251338 };
13261339
13271340