mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
doc: fix meta.badPlatforms example
error: attribute 'isStatic' missing
This commit is contained in:
parent
4705b6bc23
commit
20ca4f5529
@ -101,7 +101,7 @@ For example, a package which requires dynamic linking and cannot be linked stati
|
|||||||
```nix
|
```nix
|
||||||
{
|
{
|
||||||
meta.platforms = lib.platforms.all;
|
meta.platforms = lib.platforms.all;
|
||||||
meta.badPlatforms = [ lib.systems.inspect.patterns.isStatic ];
|
meta.badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user