Merge pull request #45820 from obsidiansystems/dont-use-obsolete-platform-aliases

treewide: Dont use obsolete platform aliases
This commit is contained in:
John Ericson
2018-08-31 09:56:10 -04:00
committed by GitHub
408 changed files with 1139 additions and 1180 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ in stdenv.mkDerivation rec {
"--with-dynlib=${s6.out}/lib"
]
++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ])
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.system}");
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.hostPlatform.system}");
postInstall = ''
mkdir -p $doc/share/doc/s6-rc/
+1 -1
View File
@@ -40,7 +40,7 @@ in stdenv.mkDerivation rec {
"--with-dynlib=${execline.lib}/lib"
]
++ (if stdenv.isDarwin then [ "--disable-shared" ] else [ "--enable-shared" ])
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.system}");
++ (stdenv.lib.optional stdenv.isDarwin "--build=${stdenv.hostPlatform.system}");
postInstall = ''
mkdir -p $doc/share/doc/s6/
+1 -1
View File
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
mkdir $TMPDIR/go
export GOPATH=$TMPDIR/go
${stdenv.lib.optionalString (stdenv.system == "armv5tel-linux") "export GOARM=5"}
${stdenv.lib.optionalString (stdenv.hostPlatform.system == "armv5tel-linux") "export GOARM=5"}
GOSQLITE=$GOPATH/src/code.google.com/p/gosqlite
mkdir -p $GOSQLITE