Merge pull request #265045 from Artturin/addcomment1

authored by

Artturi and committed by
GitHub
feaa219f 8ebe7fb0

+17
+17
lib/customisation.nix
··· 343 , newScope 344 }: 345 { otherSplices 346 , keep ? (_self: {}) 347 , extra ? (_spliced0: {}) 348 , f 349 }:
··· 343 , newScope 344 }: 345 { otherSplices 346 + # Attrs from `self` which won't be spliced. 347 + # Avoid using keep, it's only used for a python hook workaround, added in PR #104201. 348 + # ex: `keep = (self: { inherit (self) aAttr; })` 349 , keep ? (_self: {}) 350 + # Additional attrs to add to the sets `callPackage`. 351 + # When the package is from a subset (but not a subset within a package IS #211340) 352 + # within `spliced0` it will be spliced. 353 + # When using an package outside the set but it's available from `pkgs`, use the package from `pkgs.__splicedPackages`. 354 + # If the package is not available within the set or in `pkgs`, such as a package in a let binding, it will not be spliced 355 + # ex: 356 + # ``` 357 + # nix-repl> darwin.apple_sdk.frameworks.CoreFoundation 358 + # «derivation ...CoreFoundation-11.0.0.drv» 359 + # nix-repl> darwin.CoreFoundation 360 + # error: attribute 'CoreFoundation' missing 361 + # nix-repl> darwin.callPackage ({ CoreFoundation }: CoreFoundation) { } 362 + # «derivation ...CoreFoundation-11.0.0.drv» 363 + # ``` 364 , extra ? (_spliced0: {}) 365 , f 366 }: