this post was submitted on 15 Jul 2023
420 points (97.1% liked)
Programmer Humor
32361 readers
459 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
rebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }
impure? :(
It pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕
I personally use a patch on my nix that allows to evaluate a thunk for the inputs, and have every input in a different file. https://github.com/flafydev/combined-manager
thanks so much for sharing. I'll give it a look.
My config is at https://github.com/n3oney/nixus