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

Rename pkgconfig to pkg-config in nix-shell #161

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

toniz4
Copy link
Contributor

@toniz4 toniz4 commented Dec 22, 2023

Recently pkgconfig was renamed to pkg-config in the nix repos.

Currently, while trying to eval shell.nix, I get this error:

error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'nix-shell'
         whose name attribute is located at /nix/store/chi01x4fh8hx7wwh0rqd7m1c8583iyhv-source/pkgs/stdenv/generic/make-derivation.nix:348:7

       … while evaluating attribute 'buildInputs' of derivation 'nix-shell'

         at /nix/store/chi01x4fh8hx7wwh0rqd7m1c8583iyhv-source/pkgs/stdenv/generic/make-derivation.nix:395:7:

          394|       depsHostHost                = elemAt (elemAt dependencies 1) 0;
          395|       buildInputs                 = elemAt (elemAt dependencies 1) 1;
             |       ^
          396|       depsTargetTarget            = elemAt (elemAt dependencies 2) 0;

       error: 'pkgconfig' has been renamed to/replaced by 'pkg-config'

This PR fixes this issue

@toniz4 toniz4 changed the title Rename pkgconfig to pkg-config Rename pkgconfig to pkg-config in nix-shell Dec 22, 2023
@neeasade neeasade merged commit f3842ec into gnotclub:master Jan 2, 2024
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

Successfully merging this pull request may close these issues.

2 participants