We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c5cf05 commit 9643221Copy full SHA for 9643221
nix-tools/default.nix
@@ -47,6 +47,8 @@ in
47
name = "nix-tools";
48
paths = builtins.attrValues hsPkgs.nix-tools.components.exes;
49
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.
52
postBuild = ''
53
for prog in stack-to-nix cabal-to-nix plan-to-nix; do
54
wrapProgram "$out/bin/$prog" --prefix PATH : "${lib.makeBinPath tools}"
0 commit comments