Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is __filter in flake.nix? #50

Open
Septias opened this issue Jan 9, 2024 · 1 comment
Open

What is __filter in flake.nix? #50

Septias opened this issue Jan 9, 2024 · 1 comment

Comments

@Septias
Copy link

Septias commented Jan 9, 2024

The top-level flake.nix uses a lot of dunder methods like __filter which look like the library functions, but aren't. I also don't find any definition for them in the file so I wonder how the whole flake even works. Can someone explain this shortly?

@deemp
Copy link
Collaborator

deemp commented Mar 23, 2024

@Septias, I believe you've discovered them in nix repl. Try running repl inside this repository without :lf. You'll see these functions. They're builtins. They aren't a part of the flake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants