about summary refs log tree commit diff
path: root/pkgs/tools/misc/otfcc
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-20 14:43:41 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-08-30 17:20:32 -0400
commit0828e2d8c369604c56219bd7085256b984087280 (patch)
tree507e0429674ad3a42bf5dcd11413d3c834f95c74 /pkgs/tools/misc/otfcc
parent2c2f1e37d4374ea61caefd9389927ea03df4ce31 (diff)
downloadnixlib-0828e2d8c369604c56219bd7085256b984087280.tar
nixlib-0828e2d8c369604c56219bd7085256b984087280.tar.gz
nixlib-0828e2d8c369604c56219bd7085256b984087280.tar.bz2
nixlib-0828e2d8c369604c56219bd7085256b984087280.tar.lz
nixlib-0828e2d8c369604c56219bd7085256b984087280.tar.xz
nixlib-0828e2d8c369604c56219bd7085256b984087280.tar.zst
nixlib-0828e2d8c369604c56219bd7085256b984087280.zip
treewide: Remove usage of remaining redundant platform compatability stuff
Want to get this out of here for 18.09, so it can be deprecated
thereafter.
Diffstat (limited to 'pkgs/tools/misc/otfcc')
-rw-r--r--pkgs/tools/misc/otfcc/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/misc/otfcc/default.nix b/pkgs/tools/misc/otfcc/default.nix
index 052999033a1e..acf46a58a6bf 100644
--- a/pkgs/tools/misc/otfcc/default.nix
+++ b/pkgs/tools/misc/otfcc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, premake5, ninja, hostPlatform }:
+{ stdenv, fetchFromGitHub, premake5, ninja }:
 
 stdenv.mkDerivation rec {
   name = "otfcc-${version}";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
     premake5 ninja
   '';
 
-  ninjaFlags = let x = if hostPlatform.isi686 then "x86" else "x64"; in
+  ninjaFlags = let x = if stdenv.hostPlatform.isi686 then "x86" else "x64"; in
     [ "-C" "build/ninja" "otfccdump_release_${x}" "otfccbuild_release_${x}" ];
 
   installPhase = ''