1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-22 10:19:36 +01:00
nix/src/libstore/unix
Sergei Trofimovich 79122c66b1 local-derivation-goal: improve "illegal reference" error
Before the change "illegal reference" was hard to interpret as it did
not mention what derivation actually hits it.

Today's `nixpkgs` example:

Before the change:

    $ nix build --no-link -f. postgresql_14
    ...
    error: derivation contains an illegal reference specifier 'man'

After the change:

    $ nix build --no-link -f. postgresql_14
    ...
    error: derivation '/nix/store/bxp6g57limvwiga61vdlyvhy7i8rp6wd-postgresql-14.15.drv' output check for 'lib' contains an illegal reference specifier 'man', expected store path or output name (one of [debug, dev, doc, lib, out])

(cherry picked from commit bbdc3197a9)
2025-03-25 15:49:29 +00:00
..
build local-derivation-goal: improve "illegal reference" error 2025-03-25 15:49:29 +00:00
meson.build Build nix-store with Meson 2024-06-14 10:25:14 -04:00
pathlocks.cc Make abort() call sites log first 2024-07-24 16:52:04 +02:00
user-lock.cc Solve unused header warnings reported by clangd 2024-07-12 15:37:54 +02:00
user-lock.hh Solve unused header warnings reported by clangd 2024-07-12 15:37:54 +02:00