431
you are viewing a single comment's thread
view the rest of the comments
[-] demesisx@lemmy.world 4 points 1 year ago* (last edited 1 year ago)

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 }

[-] neoney@lemmy.neoney.dev 3 points 1 year ago
[-] demesisx@lemmy.world 5 points 1 year ago

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. ๐Ÿ˜•

[-] neoney@lemmy.neoney.dev 5 points 1 year ago

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

[-] demesisx@lemmy.world 5 points 1 year ago

thanks so much for sharing. I'll give it a look.

this post was submitted on 15 Jul 2023
431 points (97.6% liked)

Programmer Humor

32079 readers
370 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS