about summary refs log tree commit diff
path: root/pkgs/development/tools
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2017-07-09 10:38:11 +0200
committerVladimír Čunát <vcunat@gmail.com>2017-07-09 10:40:11 +0200
commit3a891c67fc87b3c591e75ca78af1c8d9b33445c5 (patch)
tree22cd7f9fd7454206e34c2e6ef17dd78f52cae0ba /pkgs/development/tools
parentc5fdfffa46d1a6a9cad3f0498b5e105fe5c1ec64 (diff)
downloadnixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar.gz
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar.bz2
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar.lz
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar.xz
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.tar.zst
nixlib-3a891c67fc87b3c591e75ca78af1c8d9b33445c5.zip
re2c: fix sourceRoot in a more robust way
Reverting ee5a17514c5 would also work.
The temporary confusion was due to #26877 changes.
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r--pkgs/development/tools/parsing/re2c/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/parsing/re2c/default.nix b/pkgs/development/tools/parsing/re2c/default.nix
index 6d74656d616a..fbbe0bb5d993 100644
--- a/pkgs/development/tools/parsing/re2c/default.nix
+++ b/pkgs/development/tools/parsing/re2c/default.nix
@@ -4,7 +4,7 @@ stdenv.mkDerivation rec {
   name = "re2c-${version}";
   version = "0.16";
 
-  sourceRoot = "re2c/re2c";
+  sourceRoot = "${src.name}/re2c";
 
   src = fetchFromGitHub {
     owner = "skvadrik";