mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
Merge pull request #139155 from SuperSandro2000/cleanup-nix-index
This commit is contained in:
commit
310ee04ff5
@ -1,8 +1,7 @@
|
||||
{ lib, symlinkJoin, nix-index-unwrapped, makeWrapper, nix }:
|
||||
|
||||
if nix == null then nix-index-unwrapped else
|
||||
symlinkJoin {
|
||||
inherit (nix-index-unwrapped) name;
|
||||
inherit (nix-index-unwrapped) name meta;
|
||||
|
||||
paths = [ nix-index-unwrapped ];
|
||||
|
||||
@ -12,8 +11,4 @@ symlinkJoin {
|
||||
wrapProgram $out/bin/nix-index \
|
||||
--prefix PATH : ${lib.makeBinPath [ nix ]}
|
||||
'';
|
||||
|
||||
meta = nix-index-unwrapped.meta // {
|
||||
hydraPlatforms = [];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user