-
Notifications
You must be signed in to change notification settings - Fork 339
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
Nix error when updating lock file: adding a file to a tree builder: failed to insert entry: invalid object specified
#1514
Comments
I tried Edit: |
Yes, we use our own version with performance and bug fixes.
Hmm. Would've thought dropping down to v1.1 would help. Might need to clear We could try rolling back the Nix commit mentioned in the above issues. |
@tomaskallup, which version of devenv were you on when the error appeared? |
adding a file to a tree builder: failed to insert entry: invalid object specified
I'm not really sure, I'd say <= 1.0.5, but I don't remember. I'll try removing the cache, maybe that will help. |
Allright, removing the cache did help! I can now seemingly use devenv, I have the following in my { pkgs, ... }:
{
nixpkgs.config.packageOverrides = pkgs: {
frozenDevenv = import (builtins.fetchTarball "https://github.com/NixOS/nixpkgs/archive/613f8ec128bb662e8478a07aec7c8b5b236430bb.tar.gz") {
inherit pkgs;
config.allowUnfree = true;
};
};
environment.systemPackages = [pkgs.frozenDevenv.devenv]
} And it works (it uses devenv 1.1.0). Edit: |
So I needed a newer kernel for my new laptop, so I updated my system (still on Nixpkgs 24.05 tho) and now all my devenvs stopped working. They seem to work at first, but if I change anything in the setup, I endup with this:
Looking at #1137, someone mentioned
flake: false
, but that did not help.The text was updated successfully, but these errors were encountered: