NixOS noob here, sorry if this an obvious question.
I am developing an R package that has an Rcpp function with a system dependency for libqrencode. The qrencode package is installed on 25.11.
The compiler is looking for qrencode.h but not finding it. I checked the nix store
~ ❯ ls /nix/store | grep qrencode
0nq41mawgqyilzsxd2is7dd6jkgl73v9-qrencode-4.1.1
709894c0l2l93hml9s0s76pyf5xhl3i6-qrencode-4.1.1-dev
957gs42mh22bgcnwhjgqbnn7g2778yyr-qrencode-4.1.1.drv
bg33xhczxfvffwzy6n3fkafa7v7nym72-qrencode-4.1.1.drv
c4allc1agabvg89srrmc1ad7qgd6vajs-qrencode-4.1.1
jrn6mqmnzrks3hqsgvg2z3f3njj9vwll-qrencode-4.1.1
q7m29ydnq3agcm6n0p6ywxvvsv96g97x-qrencode-4.1.1-man
simy3dnaiz14mz5zi3fjw0w6bq4ndisb-qrencode-4.1.1-bin
y9mvrv2ikx5128hqyv9ih8pzb8j2x1r2-qrencode-4.1.1.drv
~ ❯ tree /nix/store/0nq41mawgqyilzsxd2is7dd6jkgl73v9-qrencode-4.1.1
/nix/store/0nq41mawgqyilzsxd2is7dd6jkgl73v9-qrencode-4.1.1
└── lib
├── libqrencode.la
├── libqrencode.so -> libqrencode.so.4.1.1
├── libqrencode.so.4 -> libqrencode.so.4.1.1
└── libqrencode.so.4.1.1
2 directories, 4 files
~ ❯ tree /nix/store/simy3dnaiz14mz5zi3fjw0w6bq4ndisb-qrencode-4.1.1-bin
/nix/store/simy3dnaiz14mz5zi3fjw0w6bq4ndisb-qrencode-4.1.1-bin
└── bin
└── qrencode
2 directories, 1 file
but the development package does not seem to be installed. Only bin and man, right?
In the package source “dev” is mentioned as an output but I cannot find where it is installed.
Any suggestions would be much appreciated!