1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

* nbd: fix build.

svn path=/nixpkgs/branches/x-updates/; revision=25952
This commit is contained in:
Eelco Dolstra 2011-02-14 10:24:18 +00:00
parent 5f85d4c19c
commit 8df800d92c

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pkgconfig, glib}:
{ stdenv, fetchurl, pkgconfig, glib }:
stdenv.mkDerivation rec {
name = "nbd-2.9.20";
@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
buildInputs = [pkgconfig glib];
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
# Glib calls `clock_gettime', which is in librt. Since we're using
# a static Glib, we need to pass it explicitly.
NIX_LDFLAGS = "-lrt";
meta = {
homepage = "http://nbd.sourceforge.net";