nix-index: remove null check, build on hydra

This commit is contained in:
Sandro Jäckel 2021-09-23 14:32:25 +02:00
parent 6764a57d32
commit 3bfbe11864
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

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