Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agoWhen you have to update the serverpawb.socialimagemessage-square56fedilinkarrow-up1248arrow-down14
arrow-up1244arrow-down1imageWhen you have to update the serverpawb.socialTibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square56fedilink
minus-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up3·edit-21 year agorebuild_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 }
minus-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoIt 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. 😕
minus-squareneoney@lemmy.neoney.devlinkfedilinkEnglisharrow-up1·1 year agoI 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
minus-squaredemesisx@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agothanks so much for sharing. I’ll give it a look.
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.