1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

doc: fix meta.badPlatforms example

error: attribute 'isStatic' missing
This commit is contained in:
Alyssa Ross 2024-05-08 12:30:17 +02:00
parent 4705b6bc23
commit 20ca4f5529

View file

@ -101,7 +101,7 @@ For example, a package which requires dynamic linking and cannot be linked stati
```nix
{
meta.platforms = lib.platforms.all;
meta.badPlatforms = [ lib.systems.inspect.patterns.isStatic ];
meta.badPlatforms = [ lib.systems.inspect.platformPatterns.isStatic ];
}
```