From d9dec0c4185319d63268d3d6421ae073d6edcdc0 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Fri, 3 Feb 2023 08:25:51 +0100 Subject: [PATCH] Revert "xrootd: provide fuse support (xrootdfs) for Darwin and fix the tests" --- pkgs/tools/networking/xrootd/default.nix | 7 +------ pkgs/tools/networking/xrootd/test-xrdcp.nix | 19 ------------------- pkgs/top-level/all-packages.nix | 7 +------ 3 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 pkgs/tools/networking/xrootd/test-xrdcp.nix diff --git a/pkgs/tools/networking/xrootd/default.nix b/pkgs/tools/networking/xrootd/default.nix index b6fa0bab28d3..93683bc6f7fa 100644 --- a/pkgs/tools/networking/xrootd/default.nix +++ b/pkgs/tools/networking/xrootd/default.nix @@ -37,11 +37,6 @@ stdenv.mkDerivation rec { outputs = [ "bin" "out" "dev" "man" ]; passthru.tests = lib.optionalAttrs enableTests { - test-xrdcp = callPackage ./test-xrdcp.nix { - url = "root://eospublic.cern.ch//eos/opendata/alice/2010/LHC10h/000138275/ESD/0000/AliESDs.root"; - hash = "sha256-tIcs2oi+8u/Qr+P7AAaPTbQT+DEt26gEdc4VNerlEHY="; - }; - } // lib.optionalAttrs stdenv.isLinux { test-runner = callPackage ./test-runner.nix { }; }; @@ -52,7 +47,6 @@ stdenv.mkDerivation rec { buildInputs = [ curl - fuse libkrb5 libuuid libxcrypt @@ -62,6 +56,7 @@ stdenv.mkDerivation rec { zlib ] ++ lib.optionals stdenv.isLinux [ + fuse systemd voms ] diff --git a/pkgs/tools/networking/xrootd/test-xrdcp.nix b/pkgs/tools/networking/xrootd/test-xrdcp.nix deleted file mode 100644 index 3b29e195813a..000000000000 --- a/pkgs/tools/networking/xrootd/test-xrdcp.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ lib -, runCommandLocal -, buildPlatform -, xrootd -, url -, hash -}: runCommandLocal (baseNameOf url) -{ - nativeBuildInputs = [ xrootd ]; - outputHashAlgo = null; - outputHashMode = "flat"; - outputHash = hash; - inherit url; -} -# Set [DY]LD_LIBRARY_PATH to workaround #169677 -# TODO: Remove the library path after #200830 get merged -'' - ${lib.optionalString buildPlatform.isDarwin "DY"}LD_LIBRARY_PATH=${lib.makeLibraryPath [ xrootd ]} xrdcp --force "$url" "$out" -'' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2bdd0efdef87..17586c7c538b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1601,12 +1601,7 @@ with pkgs; xpaste = callPackage ../tools/text/xpaste { }; - xrootd = callPackage ../tools/networking/xrootd { - fuse = - if hostPlatform.isDarwin then osxfuse - else if hostPlatform.isLinux then fuse - else null; - }; + xrootd = callPackage ../tools/networking/xrootd { }; xtrt = callPackage ../tools/archivers/xtrt { };