-
Notifications
You must be signed in to change notification settings - Fork 0
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
Flake.nix #1
base: master
Are you sure you want to change the base?
Flake.nix #1
Conversation
Hoping that laziness would allow `nix show` to succeed Didn't work out, still > a 'aarch64-linux' with features {} is required to build '/nix/store/lfyv583109w95bl1nr8j33my2s4y7qvl-all-package-names.drv', but I am a 'x86_64-linux' with features {benchmark, big-parallel, kvm, nixos-test, recursive-nix}
Quick question: how much would you happen to know about flake-utils itself? |
@shadowrylander not much at all! I used it a couple of times to reduce the boilerplate and seem to be making guesses that work for my small needs. In particular, I'm still unsure about mechanics of |
Ah; was wondering if you could help me configure it for use with the And regarding |
Yeah, the idea is that By the way, since we seem to be both just trying to navigate in flakes, I'll leave some links I found useful (although you're likely already aware of those):
I'd be glad if I could be of any help. If you're talking about the use-case you described in DavHau#153 though, I haven't read it thoroughly yet, it's quite an amount of information |
Thanks for the detailed explanation! I've found most of the links myself as well except for the video, but I'll go through them again anyway! Regarding using flake-utils to build nixosConfigurations, here's an issue I created in their repo: numtide/flake-utils#10 |
Hi! I came across this by chance. I work as SRE for Serokell. You might find some of our recent work switching all of our infrastructure code to flakes interesting. The documentation could use some work, and much is WIP, but perhaps it can serve as an example of how to do things with flakes. Flakes are a very experimental feature, some things are broken in https://github.com/serokell/deploy-rs Some of us hang out on IRC in |
flake.nix
seems to be outdatedflake.lock
seems to cause cache-misses (or maybe I'm doing smth wrong)nix show
fails trying to evaluate non-nativesystem
's attributes