about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-09-23 15:23:25 +0200
committerGitHub <noreply@github.com>2021-09-23 15:23:25 +0200
commit310ee04ff5f1bef58499b0a2d837d6af12672792 (patch)
treede153e07bdedc8866994458db347b03c84c676a9 /pkgs/tools
parente6249cd7fcf3358eded4301cf32c3b9a645e4881 (diff)
parent3bfbe11864a3b363eb4e3f20ba1083cb19dbe33b (diff)
Merge pull request #139155 from SuperSandro2000/cleanup-nix-index
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/package-management/nix-index/wrapper.nix7
1 files changed, 1 insertions, 6 deletions
diff --git a/pkgs/tools/package-management/nix-index/wrapper.nix b/pkgs/tools/package-management/nix-index/wrapper.nix
index 2f2608fc7253d..94611e74c2a56 100644
--- a/pkgs/tools/package-management/nix-index/wrapper.nix
+++ b/pkgs/tools/package-management/nix-index/wrapper.nix
@@ -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 = [];
-  };
 }