tinycc: derive rev from version
This commit is contained in:
parent
f73f525b72
commit
bb75bc9d42
1 changed files with 2 additions and 1 deletions
|
@ -4,10 +4,11 @@ with lib;
|
|||
stdenv.mkDerivation rec {
|
||||
pname = "tcc";
|
||||
version = "0.9.27";
|
||||
upstreamVersion = "release_${concatStringsSep "_" (builtins.splitVersion version)}";
|
||||
|
||||
src = fetchFromRepoOrCz {
|
||||
repo = "tinycc";
|
||||
rev = "release_0_9_27";
|
||||
rev = upstreamVersion;
|
||||
sha256 = "12mm1lqywz0akr2yb2axjfbw8lwv57nh395vzsk534riz03ml977";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue