3
0
Fork 0
forked from mirrors/nixpkgs

nbd: avoid use of "install -D", which doesn't seem to work on FreeBSD

svn path=/nixpkgs/trunk/; revision=32459
This commit is contained in:
Peter Simons 2012-02-21 15:07:39 +00:00
parent 2847a37fa9
commit da2159548a

View file

@ -13,7 +13,10 @@ stdenv.mkDerivation {
buildInputs = [ pkgconfig glib ] ++ stdenv.lib.optional (stdenv ? glibc) stdenv.glibc.kernelHeaders; buildInputs = [ pkgconfig glib ] ++ stdenv.lib.optional (stdenv ? glibc) stdenv.glibc.kernelHeaders;
postInstall = ''install -D -m 444 README "$out/share/doc/nbd/README"''; postInstall = ''
mkdir -p "$out/share/doc/${name}"
cp README "$out/share/doc/${name}/README"
'';
# The test suite doesn't succeed on Hydra. # The test suite doesn't succeed on Hydra.
doCheck = false; doCheck = false;