mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
{bintools,cc}-wrapper: don't fallback to version = null
mkDerivation cannot handle that
This commit is contained in:
parent
a7dbdb7644
commit
7090651071
@ -100,7 +100,7 @@ in
|
||||
stdenv.mkDerivation {
|
||||
pname = targetPrefix
|
||||
+ (if name != "" then name else "${bintoolsName}-wrapper");
|
||||
version = if bintools == null then null else bintoolsVersion;
|
||||
version = if bintools == null then "" else bintoolsVersion;
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
@ -126,7 +126,7 @@ assert nativePrefix == bintools.nativePrefix;
|
||||
stdenv.mkDerivation {
|
||||
pname = targetPrefix
|
||||
+ (if name != "" then name else "${ccName}-wrapper");
|
||||
version = if cc == null then null else ccVersion;
|
||||
version = if cc == null then "" else ccVersion;
|
||||
|
||||
preferLocalBuild = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user