1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

pidgin-with-plugins: fix plugin directories (close #5009)

This commit is contained in:
Antoine R. Dumont 2014-11-16 20:42:19 +01:00 committed by Vladimír Čunát
parent 48776868f7
commit cab722f816
2 changed files with 3 additions and 2 deletions

View file

@ -12,7 +12,8 @@
stdenv.mkDerivation rec {
name = "pidgin-${version}";
version = "2.10.10";
majorVersion = "2";
version = "${majorVersion}.10.10";
src = fetchurl {
url = "mirror://sourceforge/pidgin/${name}.tar.bz2";

View file

@ -17,7 +17,7 @@ drv = buildEnv {
done
fi
wrapProgram $out/bin/pidgin \
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.version} $out/lib/pidgin" \
--suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${pidgin.majorVersion} $out/lib/pidgin" \
${toString extraArgs}
'';
};