NixOS / NixOS/nixpkgs

idris2Packages.pack: needs gnumake runtime dependency

Open
#474,658 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0.kind: bug 2.status: stale
Dominant language
Nix
Stars
26.2k
Forks
20.1k
PR merge metrics
PR metrics pending

Description

Nixpkgs version
  • Stable (25.11)
Describe the bug

After configuring my system with idris2 and idris2Packages.pack, the pack command failed to install packages because 'make' was not available. I added gnumake to my system-wide package list and it succeeded.

no version of make is listed in the references for pack.

nix-store -q --references $(realpath $(type -path pack))
/nix/store/xx7cm72qy2c0643cm1ipngd87aqwkcdp-glibc-2.40-66
/nix/store/4yik86fnic1l0q1jnrc1mawbcgbriij3-libidris2_support-0.8.0
/nix/store/6fhqixr3bva16bvadsr07wr7p3bc7m77-chez-scheme-10.3.0
/nix/store/bpmq0ln49bp0iak5xlmqgib0vlywz64n-clang-wrapper-21.1.2
/nix/store/f7hbkvplxa9kbd316csian2q6j7wwnjb-gmp-with-cxx-6.3.0-dev
/nix/store/v0vw98kyrg9953jnmadza57wzixz1jfr-pack-2025-11-06

Steps to reproduce

without make installed,
nix-shell -p idris2 -p idris2Packages.pack
pack build dom

Expected behaviour

build idris2 dom package

Screenshots

No response

Relevant log output

Additional context

[ cache ] Caching package info for webidl ............................. (211/212)
[ cache ] Caching package info for xml ................................ (212/212)
stdbuf: failed to run command ‘make’: No such file or directory
[ warning ] Building Idris failed. Trying to bootstrap now.
stdbuf: failed to run command ‘make’: No such file or directory
[ fatal ] Error when executing system command.
Command: "make" "bootstrap" "PREFIX=/home/build/.cache/pack/.tmp0/idris2-compiler/bootstrapped" "SCHEME=scheme"
Error code: 127

System metadata
  • system: "x86_64-linux"
  • host os: Linux 6.12.62, NixOS, 25.11 (Xantusia)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.31.2
  • channels(root): "nixos-24.11, nixos-unstable"
  • nixpkgs: /home/build/nix-seereason/nixpkgs-channels
Notify maintainers

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs
Is this issue important to you?

Add a 👍 reaction to issues you find important.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the nixpkgs definition for idris2Packages.pack and inspect how its runtime dependencies are declared. Reproduce the issue with pack build dom in an environment without make, add the required gnumake dependency, and verify that the build succeeds without a system-wide make.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.