feat(docs): add cheatsheet

This commit is contained in:
Mohammad Rafiq 2025-07-03 21:14:30 +08:00
parent 6e7fc72d38
commit dd0ff1e6ac
No known key found for this signature in database
3 changed files with 19 additions and 0 deletions

1
docs/cheatsheet.md Normal file
View file

@ -0,0 +1 @@
`__curPos.file` will give the full evaluated path of the nix file it is called in. See [this issue](https://github.com/NixOS/nix/issues/5897#issuecomment-1012165198) for more information.