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

Dependencies failed to build #80

Open
ahmet-cetinkaya opened this issue Jul 29, 2024 · 1 comment
Open

Dependencies failed to build #80

ahmet-cetinkaya opened this issue Jul 29, 2024 · 1 comment

Comments

@ahmet-cetinkaya
Copy link

ahmet-cetinkaya commented Jul 29, 2024

Dependencies failed to build after update

I wanted to enable nix-ld dev to allow some VSCode extensions to run their internal executable files. However, I encountered a build error on my first attempt.

> sudo nixos-rebuild switch
building Nix...
building the system configuration...
trace: warning: The option `services.xserver.xkbVariant' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.variant'.
trace: warning: The option `services.xserver.layout' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.layout'.
these 7 derivations will be built:
  /nix/store/zvv1n9d92ik9fnjd2jzn56cajczy8rw4-nix-ld.drv
  /nix/store/wbkfrbikzip86rfa4n8l4jg2v9j4bhzy-tmpfiles.d.drv
  /nix/store/rhdmi2cpb8cyv540pai5jg1s29lf248z-X-Restart-Triggers-systemd-tmpfiles-resetup.drv
  /nix/store/is6dsbiwvr0pvabvkqcfmvl85cym6bsi-unit-systemd-tmpfiles-resetup.service.drv
  /nix/store/5ddszwvaj9gvsqmgq04l5fv3a2awx1x4-system-units.drv
  /nix/store/i8mjzxhx6k6igrlyhwa0binrlvhklpy6-etc.drv
  /nix/store/j51rkvg087h2mhrkrvzd4m4hrm1hgfvd-nixos-system-ac-24.05.3346.8c5066250910.drv
building '/nix/store/zvv1n9d92ik9fnjd2jzn56cajczy8rw4-nix-ld.drv'...
Running phase: unpackPhase
unpacking source archive /nix/store/iivbw44wxv3022yn8ia8sdfkrd8ipprq-nix-ld
do not know how to unpack source archive /nix/store/iivbw44wxv3022yn8ia8sdfkrd8ipprq-nix-ld
error: builder for '/nix/store/zvv1n9d92ik9fnjd2jzn56cajczy8rw4-nix-ld.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/wbkfrbikzip86rfa4n8l4jg2v9j4bhzy-tmpfiles.d.drv' failed to build
error: 1 dependencies of derivation '/nix/store/i8mjzxhx6k6igrlyhwa0binrlvhklpy6-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/j51rkvg087h2mhrkrvzd4m4hrm1hgfvd-nixos-system-ac-24.05.3346.8c5066250910.drv' failed to build

Here are the relevant parts of my current configuration.nix:

# ...
  imports =
    [ 
     # ...
      <nix-ld/modules/nix-ld.nix>
    ];

   programs.nix-ld.dev.enable = true;
# ...

Here are nixos version:

> nixos-version                  
24.05.3346.8c5066250910 (Uakari)
@Mic92
Copy link
Member

Mic92 commented Sep 13, 2024

No idea what is going on here. Don't know what you got in your NIX_PATH. Maybe just use the upstream nixos module instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants