Add comment regarding wrapping of -to-nix exes (#208)
commit9643221e6fa8b52a104eedebcc5723500f8311b3
authorMoritz Angermann <moritz.angermann@gmail.com>
dateTue 16 Jul 2019, 11:03 (7 years ago)
parent4c5cf05
nix-tools/default.nix+2
@@ -47,6 +47,8 @@ in
4747 name = "nix-tools";
4848 paths = builtins.attrValues hsPkgs.nix-tools.components.exes;
4949 buildInputs = [ makeWrapper ];
50+ # We wrap the -to-nix executables with the executables from `tools` (e.g. nix-prefetch-git)
51+ # so that consumers of `nix-tools` won't have to provide those tools.
5052 postBuild = ''
5153 for prog in stack-to-nix cabal-to-nix plan-to-nix; do
5254 wrapProgram "$out/bin/$prog" --prefix PATH : "${lib.makeBinPath tools}"