3
0
Fork 0
forked from mirrors/nixpkgs

r-modules: remove weird version assertion

This commit is contained in:
Peter Simons 2017-03-02 13:22:26 +01:00
parent e7b68767a8
commit 3dc4e12ff0

View file

@ -16,8 +16,6 @@ let
# some packages, e.g. cncaGUI, require X running while installation,
# so that we use xvfb-run if requireX is true.
mkDerive = {mkHomepage, mkUrls}: args:
# XXX: not ideal ("2.2" would match "2.22") but sufficient
assert (!(args ? rVersion) || lib.hasPrefix args.rVersion (lib.getVersion R));
lib.makeOverridable ({
name, version, sha256,
depends ? [],