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
|
|
@ -8,7 +8,6 @@
|
|||
extraArgs ? [ ],
|
||||
useDefaultsArgs ? true,
|
||||
}:
|
||||
with builtins;
|
||||
stdenvNoCC.mkDerivation {
|
||||
/* Credits:
|
||||
https://github.com/NixOS/nixpkgs/issues/44329#issuecomment-1231189572
|
||||
|
|
@ -26,10 +25,10 @@ stdenvNoCC.mkDerivation {
|
|||
|
||||
buildPhase =
|
||||
let
|
||||
args = concatStringsSep " " extraArgs;
|
||||
args = builtins.concatStringsSep " " extraArgs;
|
||||
defArgs =
|
||||
if useDefaultsArgs then
|
||||
concatStringsSep " " [
|
||||
builtins.concatStringsSep " " [
|
||||
"--careful"
|
||||
"--complete"
|
||||
"--quiet"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue