diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2017-11-25 13:43:57 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2017-11-27 03:15:50 -0500 |
commit | e755a8a27d5c33d87a5742817c373028d35443e9 (patch) | |
tree | 68999720a17f0c6f71f35a7835030f44d409af0f /pkgs/os-specific/windows | |
parent | fbbda41e05d89325baaefef6fd0a420a1c365d7e (diff) | |
download | nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar.gz nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar.bz2 nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar.lz nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar.xz nixpkgs-e755a8a27d5c33d87a5742817c373028d35443e9.tar.zst nixpkgs-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/os-specific/windows')
-rw-r--r-- | pkgs/os-specific/windows/jom/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/windows/jom/default.nix b/pkgs/os-specific/windows/jom/default.nix index b2b23f20045..8befa51566d 100644 --- a/pkgs/os-specific/windows/jom/default.nix +++ b/pkgs/os-specific/windows/jom/default.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation { QTDIR = qt48; crossAttrs = { - # cmakeFlags = "-DWIN32=1 -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_RC_COMPILER=${stdenv.cc.prefix}windres"; + # cmakeFlags = "-DWIN32=1 -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_RC_COMPILER=${stdenv.cc.targetPrefix}windres"; QTDIR = qt48.crossDrv; preBuild = '' export NIX_CROSS_CFLAGS_COMPILE=-fpermissive |