Explicitly specify the pythonVersion and use that together with versionOlder/versionAtLeast to specify bounds

This commit is contained in:
Dario Bertini
2015-01-24 10:38:54 +00:00
parent 5ca3648137
commit 57577f2019
7 changed files with 11 additions and 2 deletions

View File

@@ -20,6 +20,7 @@ with stdenv.lib;
let
majorVersion = "3.3";
pythonVersion = majorVersion;
version = "${majorVersion}.6";
buildInputs = filter (p: p != null) [
@@ -28,6 +29,7 @@ let
in
stdenv.mkDerivation {
name = "python3-${version}";
pythonVersion = majorVersion;
inherit majorVersion version;
src = fetchurl {