diff options
author | Justin Bedo <cu@cua0.org> | 2019-03-13 09:17:35 +1100 |
---|---|---|
committer | Justin Bedo <cu@cua0.org> | 2019-03-13 09:17:35 +1100 |
commit | d5bfd9c5595d012634807045681aa90621dd8b23 (patch) | |
tree | 4a8617677292ce937d86f351db5b33376e98593c /tools | |
parent | a0cb745ca7a0c1bdfef31fa1489384273774cb4d (diff) |
mosdepth: fix broken pkg link for mosdepth source
Diffstat (limited to 'tools')
-rw-r--r-- | tools/mosdepth-plot.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mosdepth-plot.nix b/tools/mosdepth-plot.nix index 0fdfc67..de8e2d7 100644 --- a/tools/mosdepth-plot.nix +++ b/tools/mosdepth-plot.nix @@ -12,7 +12,7 @@ stage { name = "mosdepth-depth"; buildInputs = with pkgs; [ python ]; buildCommand = '' - python ${mosdepth.src}/scripts/plot-dist.py ${concatMapStringsSep " " (i: "${i}/out.mosdepth.global.dist.txt") inputs} + python ${pkgs.mosdepth.src}/scripts/plot-dist.py ${concatMapStringsSep " " (i: "${i}/out.mosdepth.global.dist.txt") inputs} ${concatStringsSep "\n" (zipListsWith (i: n: "substituteInPlace dist.html --replace ${i}/out ${n}") inputs names)} substituteInPlace dist.html --replace "x: 0.1" "x: 0.9" substituteInPlace dist.html --replace "y: 0.1" "y: 0.9" |