summary refs log tree commit diff
path: root/pkgs/applications/graphics/mirage/default.nix
diff options
context:
space:
mode:
authorSergey Mironov <grrwlf@gmail.com>2013-11-15 00:17:21 +0400
committerBjørn Forsman <bjorn.forsman@gmail.com>2013-11-14 21:24:11 +0100
commitc0df12ccf062539cf216c392eb5721c66985b051 (patch)
treebe6572c50c5762c3b9927d0a2c202eae673e5dce /pkgs/applications/graphics/mirage/default.nix
parent03858122be7f0fa2e22aed49e0b0c8be0808f0f3 (diff)
downloadnixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar.gz
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar.bz2
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar.lz
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar.xz
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.tar.zst
nixpkgs-c0df12ccf062539cf216c392eb5721c66985b051.zip
mirage: fix localization
Diffstat (limited to 'pkgs/applications/graphics/mirage/default.nix')
-rw-r--r--pkgs/applications/graphics/mirage/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/mirage/default.nix b/pkgs/applications/graphics/mirage/default.nix
index dd1fbcc7e07..cd5388c1b88 100644
--- a/pkgs/applications/graphics/mirage/default.nix
+++ b/pkgs/applications/graphics/mirage/default.nix
@@ -17,6 +17,10 @@ buildPythonPackage rec {
 
     buildInputs = [ stdenv libX11 gettext ];
 
+    patchPhase = ''
+      sed -i "s@/usr/local/share/locale@$out/share/locale@" mirage.py
+    '';
+
     pythonPath = [ pygtk pil ];
 
     meta = {