mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-10 23:00:39 +02:00
fix: reference extra-builtins.nix with access to relative files
This commit is contained in:
parent
02f27c85f4
commit
e5f3ffd288
1 changed files with 3 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
{pkgs, ...}: {
|
||||
# Make sure not to reference the extra-builtins file directly but
|
||||
# at least via its parent folder so it can access relative files.
|
||||
nix.extraOptions = ''
|
||||
plugin-files = ${pkgs.nix-plugins}/lib/nix/plugins
|
||||
extra-builtins-file = ${../../../nix/extra-builtins.nix}
|
||||
extra-builtins-file = ${../../../nix}/extra-builtins.nix
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue