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:
parent
2847a37fa9
commit
da2159548a
|
@ -13,7 +13,10 @@ stdenv.mkDerivation {
|
|||
|
||||
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.
|
||||
doCheck = false;
|
||||
|
|
Loading…
Reference in a new issue