Skip to content

Unable to cancel build #616

@max06

Description

@max06

I have confirmed that this is a bug related to nh

  • This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in NH.
  • I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.

Description

Good morning.

I'm currently running nh os build .. After starting I noticed I've still got a dependency in my config requiring a lot of time to build. I don't need that dependency at the moment. To save that build-time I wanted to interrupt nh... and nothing happened.

How do I cancel nh?

In tech terms: nh should listen and react to signals, but it doesn't.

Installation Method

Stable Release (nixpkgs, pkgs.nh from nixos-unstable or nixos-yy-mm)

Installation Method (Other)

No response

NH Version

v4.3.0

System Information

  • system: "x86_64-linux"
  • host os: Linux 6.19.8, NixOS, 26.05 (Yarara), 26.05.20260317.cda4854
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.3
  • channels(root): "nixos-24.05"
  • nixpkgs: /nix/store/l6swpsz0772pwm719pq1bhl576jrrs30-source

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug (requires confirmation)User might have misclassified, or might be an AI hallucination. We literally don't know.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions