Commit bc744410 authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

xrootd.fetchxrd: remove duplicated wrapping

parent 9c80ef7f
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -21,11 +21,9 @@
    inherit url;
    urls = if urls == [ ] then lib.singleton url else urls;
  }
  # Set [DY]LD_LIBRARY_PATH to workaround #169677
  # TODO: Remove the library path after #200830 get merged
  ''
    for u in $urls; do
      ${lib.optionalString buildPlatform.isDarwin "DY"}LD_LIBRARY_PATH=${lib.makeLibraryPath [ xrootd ]} xrdcp --force "$u" "$out"
      xrdcp --force "$u" "$out"
      ret=$?
      (( ret != 0 )) || break
    done