Merge pull request #139155 from SuperSandro2000/cleanup-nix-index

This commit is contained in:
Sandro 2021-09-23 15:23:25 +02:00 committed by GitHub
commit 310ee04ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [];
};
}