From fd81655bfb5f37f5f6721d42e6905f4f3f5c0093 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 23 Mar 2011 20:32:12 +0000 Subject: [PATCH] topgit: avoid use of "install -D", which doesn't work on FreeBSD svn path=/nixpkgs/trunk/; revision=26475 --- .../version-management/git-and-tools/topgit/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/version-management/git-and-tools/topgit/default.nix b/pkgs/applications/version-management/git-and-tools/topgit/default.nix index d9aeffd42972..ef8bb1b4dcfd 100644 --- a/pkgs/applications/version-management/git-and-tools/topgit/default.nix +++ b/pkgs/applications/version-management/git-and-tools/topgit/default.nix @@ -16,7 +16,8 @@ stdenv.mkDerivation { configurePhase = "export prefix=$out"; postInstall = '' - install -D -m 444 README "$out/share/doc/topgit-${version}/README" + ensureDir "$out/share/doc/topgit-${version}" + cp README "$out/share/doc/topgit-${version}/" ensureDir "$out/etc/bash_completion.d" make prefix="$out" install mv "contrib/tg-completion.bash" "$out/etc/bash_completion.d/"