mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nbd: remove NIX_LDFLAGS hack
There is no Linux libc supported by Nixpkgs where these are separate libraries any more. (They're empty stubs.)
This commit is contained in:
parent
c5c7778f09
commit
35424a99fd
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user