gnotclub / xst

st fork that uses Xresources and some pretty good patches
MIT License
536 stars 74 forks source link

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

Closed toniz4 closed 7 months ago

toniz4 commented 8 months ago

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