unix-tools: get platforms from doubles
This commit is contained in:
parent
e500bb8409
commit
accfd7ca08
@ -22,7 +22,7 @@ let
|
||||
in runCommand "${cmd}-${version}" {
|
||||
meta = {
|
||||
priority = 10;
|
||||
platforms = map (n: { kernel.name = n; }) (attrNames providers);
|
||||
platforms = lib.platforms.${stdenv.hostPlatform.parsed.kernel.name} or lib.platforms.all;
|
||||
};
|
||||
passthru = { inherit provider; };
|
||||
preferLocalBuild = true;
|
||||
|
Loading…
Reference in New Issue
Block a user