i3lock: it's cleaner to use $out/share/man in the first place.

it is true that $out/man is automatically moved to $out/share/man, but using
"share" folder is cleaner solutions suggested by @edolstra here #6014
This commit is contained in:
Rok Garbas 2015-01-28 19:56:13 +01:00
parent a15edc22e3
commit 21db3eaa60
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
makeFlags = "all"; makeFlags = "all";
installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc"; installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
postInstall = '' postInstall = ''
mkdir -p $out/man/man1 mkdir -p $out/share/man/man1
cp *.1 $out/man/man1 cp *.1 $out/share/man/man1
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {