Closed bratfizyk closed 2 months ago
This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/colmena-deployment-extremely-slow/47546/15
What's the exact command you ran to build?
What's the exact command you ran to build?
Hi, sorry for a delayed response. I had a problem with my computer.
The exact command is nix-build ./image.nix
. I've already updated the issue description.
tried on 4c547b66635455ad061d4beecaf1805810dc0428 and could not reproduce via nix repl -f ~/nixpkgs
:
nix-repl> config = { imports = [ ./nixos/modules/virtualisation/digital-ocean-image.nix ]; }
nix-repl> :b (pkgs.nixos config).digitalOceanImage
trace: warning: system.stateVersion is not set, defaulting to 24.11. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
This derivation produced the following outputs:
out -> /nix/store/m9gi9w2ss7g5k3jl3bwcgzcfmvwf7saf-digital-ocean-image
@bratfizyk what commit of nixpkgs
are you trying this on?
Hi @aanderse, thanks for replying to this.
I've updated my system flake and I confirm I can now successfully execute nix-build ./image.nix
.
Regarding specific commit - I think this is the line we're searching for, right?
So assuming I read this correctly, now I'm on 2741b4b489b55df32afac57bc4bfd220e8bf617e
, while previously I was on a71e967ef3694799d0c418c98332f7ff4cc5f6af
.
great to hear that everything is working now
presumably there was some commit that broke this but then eventually it got fixed
are we good to close this issue now?
are we good to close this issue now?
Sure. Once again, thanks for looking into this.
Describe the bug
I've been trying to run a deploy to Digital Ocean so I followed this article but it failed for me while generating a DigitalOcean NixOS image.
Steps To Reproduce
Steps to reproduce the behavior:
image.nix
as described in the article.nix-build ./image.nix
from the folder containing the file created in step (1).Expected behavior
nix-build ./image.nix
executes without any errors and produces an image file.Screenshots
Additional context
My personal NixOS configuration: https://github.com/bratfizyk/dotFiles
Notify maintainers
I was asked to report this issue by @aanderse
Metadata
Add a :+1: reaction to issues you find important.