reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user