Skip to content

Package dmenu-rs fails to build on NixOS 23.05 #222351

@ghost

Description

Steps To Reproduce

Steps to reproduce the behavior:

  1. build dmenu-rs

Build log

this derivation will be built:
  /nix/store/ay386p1ma1ivq54l9zck4fbfijf1frvi-dmenu-rs-5.5.1.drv
building '/nix/store/ay386p1ma1ivq54l9zck4fbfijf1frvi-dmenu-rs-5.5.1.drv'...
unpacking sources
unpacking source archive /nix/store/cfff3dy90qc00b47sxi7m4rmvhf7m4k1-source
source root is source
Executing cargoSetupPostUnpackHook
Finished cargoSetupPostUnpackHook
patching sources
unlink: cannot unlink '/build/cargo-vendor-dir/xcb-0.8.2': Is a directory
/nix/store/pw17yc3mwmsci4jygwalj8ppg0drz31v-stdenv-linux/setup: line 136: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/ay386p1ma1ivq54l9zck4fbfijf1frvi-dmenu-rs-5.5.1.drv' failed with exit code 1;
       last 8 log lines:
       > unpacking sources
       > unpacking source archive /nix/store/cfff3dy90qc00b47sxi7m4rmvhf7m4k1-source
       > source root is source
       > Executing cargoSetupPostUnpackHook
       > Finished cargoSetupPostUnpackHook
       > patching sources
       > unlink: cannot unlink '/build/cargo-vendor-dir/xcb-0.8.2': Is a directory
       > /nix/store/pw17yc3mwmsci4jygwalj8ppg0drz31v-stdenv-linux/setup: line 136: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/ay386p1ma1ivq54l9zck4fbfijf1frvi-dmenu-rs-5.5.1.drv'.

Notify maintainers

@benjaminedwardwebb

Metadata

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

[sogreatandpowerful@ProbabilityWaveFunction:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.2.3-xanmod1, NixOS, 23.05 (Stoat), 23.05pre465704.1603d11595a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(root): `"nixos"`
 - channels(sogreatandpowerful): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions