2021-09-14 19:33:08 +02:00
|
|
|
{ lib, symlinkJoin, nix-index-unwrapped, makeWrapper, nix }:
|
|
|
|
|
|
|
|
symlinkJoin {
|
2021-09-23 14:32:25 +02:00
|
|
|
inherit (nix-index-unwrapped) name meta;
|
2021-09-14 19:33:08 +02:00
|
|
|
|
|
|
|
paths = [ nix-index-unwrapped ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
|
|
|
|
postBuild = ''
|
|
|
|
wrapProgram $out/bin/nix-index \
|
|
|
|
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
|
|
|
'';
|
|
|
|
}
|