summary refs log tree commit diff
path: root/pkgs/development/compilers/opendylan/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <mail@JohnEricson.me>2018-08-31 09:56:10 -0400
committerGitHub <noreply@github.com>2018-08-31 09:56:10 -0400
commit2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93 (patch)
tree46c1a6242a2243d6d6bd04d0dcb234056bc01c14 /pkgs/development/compilers/opendylan/default.nix
parentf7606a82ed6bbf93c015c01b4067c7529ab3e74e (diff)
parent0828e2d8c369604c56219bd7085256b984087280 (diff)
downloadnixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar.gz
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar.bz2
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar.lz
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar.xz
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.tar.zst
nixlib-2c4a75e9ef9721d2c1a96701a6271f94ee0bdc93.zip
Merge pull request #45820 from obsidiansystems/dont-use-obsolete-platform-aliases
treewide: Dont use obsolete platform aliases
Diffstat (limited to 'pkgs/development/compilers/opendylan/default.nix')
-rw-r--r--pkgs/development/compilers/opendylan/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/compilers/opendylan/default.nix b/pkgs/development/compilers/opendylan/default.nix
index 17d474359da4..8e732d7d8bf4 100644
--- a/pkgs/development/compilers/opendylan/default.nix
+++ b/pkgs/development/compilers/opendylan/default.nix
@@ -11,11 +11,11 @@ stdenv.mkDerivation {
     fetchSubmodules = true;
   };
 
-  buildInputs = (if stdenv.system == "i686-linux" then [ mps ] else [ boehmgc ]) ++ [
+  buildInputs = (if stdenv.hostPlatform.system == "i686-linux" then [ mps ] else [ boehmgc ]) ++ [
     opendylan-bootstrap boehmgc gnused autoconf automake perl makeWrapper
   ];
 
-  preConfigure = if stdenv.system == "i686-linux" then ''
+  preConfigure = if stdenv.hostPlatform.system == "i686-linux" then ''
     mkdir -p $TMPDIR/mps
     tar --strip-components=1 -xf ${mps.src} -C $TMPDIR/mps
     ./autogen.sh
@@ -25,7 +25,7 @@ stdenv.mkDerivation {
   '';
 
   configureFlags = [
-    (if stdenv.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}")
+    (if stdenv.hostPlatform.system == "i686-linux" then "--with-mps=$(TMPDIR)/mps" else "--with-gc=${boehmgc.out}")
   ];
   buildPhase = "make 3-stage-bootstrap";