84cb9d505d
GitOrigin-RevId: 51bcdc4cdaac48535dabf0ad4642a66774c609ed
14 lines
307 B
Nix
14 lines
307 B
Nix
{ lib, symlinkJoin, nix-index-unwrapped, makeWrapper, nix }:
|
|
|
|
symlinkJoin {
|
|
inherit (nix-index-unwrapped) name meta;
|
|
|
|
paths = [ nix-index-unwrapped ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/nix-index \
|
|
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
|
'';
|
|
}
|