summary refs log tree commit diff
path: root/pkgs/development/libraries/glibc
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2013-11-27 21:32:42 +0100
committerVladimír Čunát <vcunat@gmail.com>2013-11-27 21:34:14 +0100
commit8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb (patch)
treede62a3e3c018cdfebf33206be8de5f349c231841 /pkgs/development/libraries/glibc
parentaaaeaf6f3a84eaf46d29bd6f64bb9bd447bb653e (diff)
downloadnixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar.gz
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar.bz2
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar.lz
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar.xz
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.tar.zst
nixpkgs-8c1a49bf7a072e7686fb8f2b0baa8a73888ee7fb.zip
glibcLocales: refactoring fe32d12 according to comments
Diffstat (limited to 'pkgs/development/libraries/glibc')
-rw-r--r--pkgs/development/libraries/glibc/2.17/locales.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/glibc/2.17/locales.nix b/pkgs/development/libraries/glibc/2.17/locales.nix
index 680a1ced3de..e818b84bc62 100644
--- a/pkgs/development/libraries/glibc/2.17/locales.nix
+++ b/pkgs/development/libraries/glibc/2.17/locales.nix
@@ -40,7 +40,7 @@ in
     installPhase =
       ''
         mkdir -p "$out/lib/locale"
-        cp -v $TMPDIR/"$(dirname $(readlink -f $(type -p localedef)))/../lib/locale/locale-archive" "$out/lib/locale"
+        cp -v "$TMPDIR/$NIX_STORE/"*"/lib/locale/locale-archive" "$out/lib/locale"
       '';
 
     meta.description = "Locale information for the GNU C Library";