lib.customisation: inherit unsafeGetAttrsPos in let-in (#446761)

authored by

Alyssa Ross and committed by
GitHub
f0cc6e63 40752179

+2 -1
+2 -1
lib/customisation.nix
··· 3 3 let 4 4 inherit (builtins) 5 5 intersectAttrs 6 + unsafeGetAttrPos 6 7 ; 7 8 inherit (lib) 8 9 functionArgs ··· 303 304 errorForArg = 304 305 arg: 305 306 let 306 - loc = builtins.unsafeGetAttrPos arg fargs; 307 + loc = unsafeGetAttrPos arg fargs; 307 308 in 308 309 "Function called without required argument \"${arg}\" at " 309 310 + "${loc.file}:${toString loc.line}${prettySuggestions (getSuggestions arg)}";