When I run nix build .#sveltekit, I get the following error:
warning: Git tree '/Users/hugosum/Desktop/ezdrop' is dirty
error:
… while calling the 'head' builtin
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/attrsets.nix:1575:11:
1574| || pred here (elemAt values 1) (head values) then
1575| head values
| ^
1576| else
… while evaluating the attribute 'value'
at /nix/store/g2ysyzdx76m4z7lnmyddcwdz25lx7kn1-source/lib/modules.nix:821:9:
820| in warnDeprecation opt //
821| { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
822| inherit (res.defsFinal') highestPrio;
(stack trace truncated; use '--show-trace' to show the full trace)
error: The option `public.drvPath' is used but not defined.
Do I need to define drvPath myself? Where should I do that?
I have a flake like this, where there is a simple npm project(it is sveltekit, but doesn't matter I guess) in the root directory
When I run
nix build .#sveltekit
, I get the following error:Do I need to define
drvPath
myself? Where should I do that?