summary refs log tree commit diff
path: root/pkgs/tools/networking/nbd/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-01-23 15:55:58 +0000
committerAlyssa Ross <hi@alyssa.is>2023-01-23 15:55:58 +0000
commit35424a99fd388905fc1cfb74c5c3ac9a67a1bc83 (patch)
treef3c9be0be6fdbe33bdca16a0682e69f63796b1b8 /pkgs/tools/networking/nbd/default.nix
parentc5c7778f0987596bfeddf1b0d15b897761b3e516 (diff)
downloadnixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar.gz
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar.bz2
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar.lz
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar.xz
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.tar.zst
nixpkgs-35424a99fd388905fc1cfb74c5c3ac9a67a1bc83.zip
nbd: remove NIX_LDFLAGS hack
There is no Linux libc supported by Nixpkgs where these are separate
libraries any more.  (They're empty stubs.)
Diffstat (limited to 'pkgs/tools/networking/nbd/default.nix')
-rw-r--r--pkgs/tools/networking/nbd/default.nix5
1 files changed, 0 insertions, 5 deletions
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";