re2c: fix sourceRoot in a more robust way

Reverting ee5a17514c5 would also work.
The temporary confusion was due to #26877 changes.
This commit is contained in:
Vladimír Čunát 2017-07-09 10:38:11 +02:00
parent c5fdfffa46
commit 3a891c67fc
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
name = "re2c-${version}";
version = "0.16";
sourceRoot = "re2c/re2c";
sourceRoot = "${src.name}/re2c";
src = fetchFromGitHub {
owner = "skvadrik";