Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: node-env #350518

Closed
griffi-gh opened this issue Oct 22, 2024 · 1 comment
Closed

Build failure: node-env #350518

griffi-gh opened this issue Oct 22, 2024 · 1 comment
Labels
0.kind: build failure A package fails to build

Comments

@griffi-gh
Copy link
Member

griffi-gh commented Oct 22, 2024

Steps To Reproduce

Steps to reproduce the behavior:

  1. build any package that depends on node-env

Build log

       … from call site
         at /nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/pkgs/development/node-packages/node-env.nix:7:40:
            6|   # Workaround to cope with utillinux in Nixpkgs 20.09 and util-linux in Nixpkgs master
            7|   utillinux = if pkgs ? utillinux then pkgs.utillinux else pkgs.util-linux;
             |                                        ^
            8|
            
======== SNIP ========
     
      … while calling the 'throw' builtin
         at /nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source/pkgs/top-level/aliases.nix:1677:15:
         1676|   util-linuxCurses = util-linux; # Added 2022-04-12
         1677|   utillinux = throw "'utillinux' has been renamed to/replaced by 'util-linux'"; # Converted to throw 2024-10-17
             |               ^
         1678|

       error: 'utillinux' has been renamed to/replaced by 'util-linux'

Full log from nixos-rebuild with --show-trace:
https://gist.github.com/griffi-gh/76ba31b361f14a215c2c0c49c57c1b1e

Additional context

In my case the offending dependency chain was:
apostrophe -> mathjax -> node-env

And i had to remove apostrophe for my system to build

Specifically this line's failing:

  # Workaround to cope with utillinux in Nixpkgs 20.09 and util-linux in Nixpkgs master
  utillinux = if pkgs ? utillinux then pkgs.utillinux else pkgs.util-linux;

Notify maintainers

N/A

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.11.4, NixOS, 24.11 (Vicuna), 24.11.20241020.1997e4a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.25.0pre20240920_ca3fc169`
 - nixpkgs: `/nix/store/dyzl40h25l04565n90psbhzgnc5vp2xr-source`

Add a 👍 reaction to issues you find important.

@griffi-gh griffi-gh added the 0.kind: build failure A package fails to build label Oct 22, 2024
@kjeremy
Copy link
Contributor

kjeremy commented Oct 22, 2024

Fixed by #349783

@kjeremy kjeremy closed this as completed Oct 22, 2024
aftix added a commit to aftix/cfg that referenced this issue Oct 22, 2024
Updated home/opt/development.nix to default to no typescript packages
due to NixOS/nixpkgs#350518 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

2 participants