mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
Revert "nix: put builtin in scope when needed"
I don't know where I got this anti-pattern. It makes the LSP unable to figure out which bindings are unbound
This commit is contained in:
parent
082ebfb772
commit
74689b460e
9 changed files with 34 additions and 38 deletions
|
|
@ -6,7 +6,6 @@
|
|||
flake-utils,
|
||||
...
|
||||
}@inputs:
|
||||
with builtins;
|
||||
let
|
||||
mkArgs =
|
||||
system:
|
||||
|
|
@ -16,7 +15,7 @@ let
|
|||
inherit system;
|
||||
config.allowUnfreePredicate =
|
||||
pkg:
|
||||
elem (nixpkgs.lib.getName pkg) [
|
||||
builtins.elem (nixpkgs.lib.getName pkg) [
|
||||
"discord"
|
||||
"languagetool"
|
||||
];
|
||||
|
|
@ -148,7 +147,7 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
many = func: mapAttrs (name: opts: func name (opts.system) (opts.settings or { }));
|
||||
many = func: builtins.mapAttrs (name: opts: func name (opts.system) (opts.settings or { }));
|
||||
in
|
||||
{
|
||||
mkNixOSes = many mkNixOS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue