mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 00:12:56 +00:00
nix-index: remove null check, build on hydra
This commit is contained in:
parent
6764a57d32
commit
3bfbe11864
@ -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