nix: put builtin in scope when needed

This commit is contained in:
Léana 江 2024-04-06 13:50:33 +02:00 committed by Léana 江
parent d7d55059ce
commit 8271aea4ba
9 changed files with 38 additions and 34 deletions

View file

@ -5,6 +5,7 @@
neovim-pin,
...
}:
with builtins;
{
programs.neovim = {
package = neovim-pin.neovim-unwrapped;
@ -32,11 +33,11 @@
home.file =
let
fr_utf-8_spl = builtins.fetchurl {
fr_utf-8_spl = fetchurl {
url = "http://ftp.vim.org/vim/runtime/spell/fr.utf-8.spl";
sha256 = "abfb9702b98d887c175ace58f1ab39733dc08d03b674d914f56344ef86e63b61";
};
fr_utf-8_sug = builtins.fetchurl {
fr_utf-8_sug = fetchurl {
url = "http://ftp.vim.org/vim/runtime/spell/fr.utf-8.sug";
sha256 = "0294bc32b42c90bbb286a89e23ca3773b7ef50eff1ab523b1513d6a25c6b3f58";
};