diff options
author | Benjamin Hipple <bhipple@protonmail.com> | 2017-11-27 22:06:58 -0500 |
---|---|---|
committer | Benjamin Hipple <bhipple@protonmail.com> | 2017-12-03 11:42:34 -0500 |
commit | b1ec502c1e9c4909b3e9b0b40f2123353270eae0 (patch) | |
tree | 8ee6231ee4cc2a3129699e453e932e631e1a00fd /pkgs/build-support/vm | |
parent | e001bd2c2f698037c6968608523c609cddac813b (diff) |
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.
Diffstat (limited to 'pkgs/build-support/vm')
-rw-r--r-- | pkgs/build-support/vm/default.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix index fdd7c2013b405..baaa150b5a05b 100644 --- a/pkgs/build-support/vm/default.nix +++ b/pkgs/build-support/vm/default.nix @@ -1322,6 +1322,19 @@ rec { archs = ["noarch" "x86_64"]; packages = commonCentOSPackages ++ [ "procps-ng" ]; }; + + centos74x86_64 = rec { + name = "centos-7.4-x86_64"; + fullName = "CentOS 7.4 (x86_64)"; + # N.B. Switch to vault.centos.org when the next release comes out + urlPrefix = http://mirror.centos.org/centos-7/7.4.1708/os/x86_64; + packagesList = fetchurl { + url = "${urlPrefix}/repodata/b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5-primary.xml.gz"; + sha256 = "1mayp4f3nzd8n4wa3hsz4lk8p076djkvk1wkdmjkwcipyfhd71mn"; + }; + archs = ["noarch" "x86_64"]; + packages = commonCentOSPackages ++ [ "procps-ng" ]; + }; }; |