summary refs log tree commit diff
path: root/pkgs/applications/video/omxplayer/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-11-25 13:43:57 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-11-27 03:15:50 -0500
commite755a8a27d5c33d87a5742817c373028d35443e9 (patch)
tree68999720a17f0c6f71f35a7835030f44d409af0f /pkgs/applications/video/omxplayer/default.nix
parentfbbda41e05d89325baaefef6fd0a420a1c365d7e (diff)
downloadnixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar.gz
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar.bz2
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar.lz
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar.xz
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.tar.zst
nixlib-e755a8a27d5c33d87a5742817c373028d35443e9.zip
treewide: Use `targetPrefix` instead of `prefix` for platform name prefixes
Certain tools, e.g. compilers, are customarily prefixed with the name of
their target platform so that multiple builds can be used at once
without clobbering each other on the PATH. I was using identifiers named
`prefix` for this purpose, but that conflicts with the standard use of
`prefix` to mean the directory where something is installed. To avoid
conflict and confusion, I renamed those to `targetPrefix`.
Diffstat (limited to 'pkgs/applications/video/omxplayer/default.nix')
-rw-r--r--pkgs/applications/video/omxplayer/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/video/omxplayer/default.nix b/pkgs/applications/video/omxplayer/default.nix
index 29345f7548d5..825bfe7955a8 100644
--- a/pkgs/applications/video/omxplayer/default.nix
+++ b/pkgs/applications/video/omxplayer/default.nix
@@ -49,7 +49,7 @@ let
     crossAttrs = {
       configurePlatforms = [];
       configureFlags = configureFlags ++ [
-        "--cross-prefix=${stdenv.cc.prefix}"
+        "--cross-prefix=${stdenv.cc.targetPrefix}"
         "--enable-cross-compile"
         "--target_os=linux"
         "--arch=${hostPlatform.arch}"