-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Describe the bug
$ nix-shell
[nix-shell]$ meson setup build .
[...]
perl| Message: Perl install site: /nix/store/nxw1xxfxkd6bm570nb6gv0g6pghp7i4c-perl-5.40.0/lib/perl5/site_perl/5.40.0/x86_64-linux-thread-multi
perl| Message: Assumed Nix-Perl install dir: /usr/local/lib/perl5/site_perl/5.40.0/x86_64-linux-thread-multi
src/perl/meson.build:132:17: ERROR: Command `/nix/store/nxw1xxfxkd6bm570nb6gv0g6pghp7i4c-perl-5.40.0/bin/perl -e 'use DBI; use DBD::SQLite;' -I/usr -I/usr` failed with status 2.
Steps To Reproduce
- Clone this repository (latest master branch is 327e8ba as of now).
- Run
nix-shell - Run
meson setup build .to configure and build the project - Observe error:
src/perl/meson.build:132:17: ERROR: Command /nix/store/nxw1xxfxkd6bm570nb6gv0g6pghp7i4c-perl-5.40.0/bin/perl -e 'use DBI; use DBD::SQLite;' -I/usr -I/usr failed with status 2.
Expected behavior
Building should not fail.
Metadata
NixOS 25.05, Nix 2.28.5, x86_64-linux.
Additional context
#12756 has the same error, but (1) is about aarch64-darwin and (2) was closed several months ago.
Just before failing, meson prints this suspicious path:
Message: Assumed Nix-Perl install dir: /usr/local/lib/perl5/site_perl/5.40.0/x86_64-linux-thread-multi
Checklist
- checked latest Nix manual (source) -- that manual points to https://hydra.nixos.org/build/314141626/download/1/manual/ which is broken; clicking URLs in the index doesn't work, scrolling down the page makes me think CSS isn't loaded properly etc.
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.