From 9ef0f1b93532be0c006f266f482d841ef4b25a0e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 2 Aug 2010 13:37:36 +0000 Subject: [PATCH] pkgs/tools/networking/nbd: install the README file to $out/share/doc The README contains documentation that is useful in addition to the man pages. svn path=/nixpkgs/trunk/; revision=22875 --- pkgs/tools/networking/nbd/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/nbd/default.nix b/pkgs/tools/networking/nbd/default.nix index 660ae697979..551d2109f28 100644 --- a/pkgs/tools/networking/nbd/default.nix +++ b/pkgs/tools/networking/nbd/default.nix @@ -15,6 +15,8 @@ stdenv.mkDerivation rec { # machines that have a different setup than the local one. configureFlags = "LDFLAGS=-static"; + postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"''; + meta = { homepage = "http://nbd.sourceforge.net"; description = "map arbitrary files as block devices over the network";