Skip to content

Commit 9643221

Browse files
angermanrvl
authored andcommitted
Add comment regarding wrapping of -to-nix exes (#208)
1 parent 4c5cf05 commit 9643221

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nix-tools/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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}"

0 commit comments

Comments
 (0)