Author: simons
Date: Tue Dec  6 20:44:31 2011
New Revision: 30783
URL: https://nixos.org/websvn/nix/?rev=30783&sc=1

Log:
pkgs/tools/networking/p2p/rtorrent/default.nix: avoid use of "install -D" to 
make FreeBSD happy

Modified:
   nixpkgs/trunk/pkgs/tools/networking/p2p/rtorrent/default.nix

Modified: nixpkgs/trunk/pkgs/tools/networking/p2p/rtorrent/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/tools/networking/p2p/rtorrent/default.nix        Tue Dec 
 6 19:47:51 2011        (r30782)
+++ nixpkgs/trunk/pkgs/tools/networking/p2p/rtorrent/default.nix        Tue Dec 
 6 20:44:31 2011        (r30783)
@@ -14,7 +14,10 @@
 
   buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
 
-  postInstall = "install -D -m 444 doc/rtorrent.1 
$out/share/man/man1/rtorrent.1";
+  postInstall = ''
+    ensureDir $out/share/man/man1
+    mv doc/rtorrent.1 $out/share/man/man1/rtorrent.1
+  '';
 
   meta = {
     homepage = "http://libtorrent.rakshasa.no/";;
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to