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:
@@ -16,11 +16,11 @@ stdenv.mkDerivation {
|
||||
xlibsWrapper
|
||||
];
|
||||
|
||||
buildPhase = if stdenv.system == "x86_64-linux" then ''
|
||||
buildPhase = if stdenv.hostPlatform.system == "x86_64-linux" then ''
|
||||
make all64
|
||||
'' else if stdenv.system == "i686-linux" then ''
|
||||
'' else if stdenv.hostPlatform.system == "i686-linux" then ''
|
||||
make all32
|
||||
'' else throw "xwinwrap is not supported on ${stdenv.system}";
|
||||
'' else throw "xwinwrap is not supported on ${stdenv.hostPlatform.system}";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
Reference in New Issue
Block a user