-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
implement overlays #9
Labels
enhancement
New feature or request
Comments
Proposal to use npins for installing vimPlugins https://github.com/Gerg-L/nvim-flake/blob/master/flake.nix#L125-L132 |
🌟 Best guide to follow at current point in time → https://fl42v.github.io/nixos-and-flakes-book-ru/nixpkgs/overlays |
dminca
added a commit
that referenced
this issue
Jul 6, 2024
* setup repo structure * configure overlay for 'kluctl' package first; once this works, MVP delivered * since this is the initial commit on this feature, it's obviously broken and throwing the following error ```sh error: … while evaluating a branch condition at /nix/store/7gmkl9bfx98djaamhym69wkj4r3sh1q6-source/lib/lists.nix:125:9: 124| fold' = n: 125| if n == len | ^ 126| then nul … while calling the 'length' builtin at /nix/store/7gmkl9bfx98djaamhym69wkj4r3sh1q6-source/lib/lists.nix:123:13: 122| let 123| len = length list; | ^ 124| fold' = n: (stack trace truncated; use '--show-trace' to show the full trace) error: function 'anonymous lambda' called without required argument 'pkgs' at /nix/store/2cv47br877dpnc9p1cv3x95a27nsidb0-source/overlays/kluctl/default.nix:1:1: 1| { pkgs, config, lib, ... }: | ^ 2| ``` Resolves: #9 Related: Signed-off-by: Daniel-Andrei Minca <[email protected]>
Got some hints on discord and some searching led me to this piece → https://kevinmacksa.me/post/20240128-nix-develop/ |
dminca
added a commit
that referenced
this issue
Oct 22, 2024
* setup repo structure * configure overlay for 'kluctl' package first; once this works, MVP delivered * since this is the initial commit on this feature, it's obviously broken and throwing the following error ```sh error: … while evaluating a branch condition at /nix/store/7gmkl9bfx98djaamhym69wkj4r3sh1q6-source/lib/lists.nix:125:9: 124| fold' = n: 125| if n == len | ^ 126| then nul … while calling the 'length' builtin at /nix/store/7gmkl9bfx98djaamhym69wkj4r3sh1q6-source/lib/lists.nix:123:13: 122| let 123| len = length list; | ^ 124| fold' = n: (stack trace truncated; use '--show-trace' to show the full trace) error: function 'anonymous lambda' called without required argument 'pkgs' at /nix/store/2cv47br877dpnc9p1cv3x95a27nsidb0-source/overlays/kluctl/default.nix:1:1: 1| { pkgs, config, lib, ... }: | ^ 2| ``` Resolves: #9 Related: Signed-off-by: Daniel-Andrei Minca <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Establish a mechanism to perform overlaying.
First struggle I had was with
pkgs.vimPlugins.coc-explorer
where upstream released a fix ( weirongxu/coc-explorer#586 ) for a critical missing feature and need to bring this over before it gets pushed tonixpkgs
Another candidate is
pkgs.kluctl
which is an older version innixpkgs
even though I'm usingnixpkgs-unstable
On a separate note, if some want to wait until the patches are released to
nixpkgs-unstable
, a PR must be available, then it can be verified if merged here → https://nixpk.gs/pr-tracker.html?pr=319882The text was updated successfully, but these errors were encountered: