unix-tools: get platforms from doubles
This commit is contained in:
parent
e500bb8409
commit
accfd7ca08
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue