mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
* nbd: fix build.
svn path=/nixpkgs/branches/x-updates/; revision=25952
This commit is contained in:
parent
5f85d4c19c
commit
8df800d92c
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [pkgconfig glib];
|
buildInputs = [pkgconfig glib];
|
||||||
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"'';
|
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 = {
|
meta = {
|
||||||
homepage = "http://nbd.sourceforge.net";
|
homepage = "http://nbd.sourceforge.net";
|
||||||
description = "map arbitrary files as block devices over the network";
|
description = "map arbitrary files as block devices over the network";
|
||||||
|
Loading…
Reference in New Issue
Block a user