Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 20 lines 318 B view raw
1{ 2 lib, 3 symlinkJoin, 4 nix-index-unwrapped, 5 makeWrapper, 6 nix, 7}: 8 9symlinkJoin { 10 inherit (nix-index-unwrapped) name meta; 11 12 paths = [ nix-index-unwrapped ]; 13 14 nativeBuildInputs = [ makeWrapper ]; 15 16 postBuild = '' 17 wrapProgram $out/bin/nix-index \ 18 --prefix PATH : ${lib.makeBinPath [ nix ]} 19 ''; 20}