misc pkgs: Remove unneeded *Platform == *Platform comparisons
PR #26007 used these to avoid causing a mass rebuild. Now that we know things work, we do that to clean up.
This commit is contained in:
@@ -38,8 +38,8 @@ stdenv.mkDerivation rec {
|
||||
cp -r README.txt LICENSE.txt doc $out/share/doc/glew
|
||||
'';
|
||||
|
||||
makeFlags = if hostPlatform == buildPlatform then null else [
|
||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel}"
|
||||
makeFlags = [
|
||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
@@ -39,8 +39,8 @@ stdenv.mkDerivation rec {
|
||||
rm $out/lib/*.a
|
||||
'';
|
||||
|
||||
makeFlags = if hostPlatform == buildPlatform then null else [
|
||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel}"
|
||||
makeFlags = [
|
||||
"SYSTEM=${if hostPlatform.isMinGW then "mingw" else hostPlatform.parsed.kernel.name}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
||||
Reference in New Issue
Block a user