From 35424a99fd388905fc1cfb74c5c3ac9a67a1bc83 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Mon, 23 Jan 2023 15:55:58 +0000 Subject: nbd: remove NIX_LDFLAGS hack There is no Linux libc supported by Nixpkgs where these are separate libraries any more. (They're empty stubs.) --- pkgs/tools/networking/nbd/default.nix | 5 ----- 1 file changed, 5 deletions(-) (limited to 'pkgs/tools/networking/nbd/default.nix') diff --git a/pkgs/tools/networking/nbd/default.nix b/pkgs/tools/networking/nbd/default.nix index 66b27062043..c6017706527 100644 --- a/pkgs/tools/networking/nbd/default.nix +++ b/pkgs/tools/networking/nbd/default.nix @@ -25,11 +25,6 @@ stdenv.mkDerivation rec { test = nixosTests.nbd; }; - # Glib calls `clock_gettime', which is in librt. Linking that library - # here ensures that a proper rpath is added to the executable so that - # it can be loaded at run-time. - NIX_LDFLAGS = lib.optionalString stdenv.isLinux "-lrt -lpthread"; - meta = { homepage = "https://nbd.sourceforge.io/"; description = "Map arbitrary files as block devices over the network"; -- cgit 1.4.1