Comments (4)
This is surprising because manifest version 3 has been supported since Nix 2.20.
from nix.
@teto is this still a problem?
All older versions of manifest.json should be supported by newer versions of Nix. Nix will automatically upgrade the manifest.json if needed. It just doesn't downgrade when using an older version of Nix.
If it's still a problem it might help to list the version of Nix:
$ nix profile install ./results/warp-terminal
error: profile manifest '/nix/var/nix/profiles/per-user/teto/profile/manifest.json' has unsupported version 3
$ nix --version
from nix.
it still happens, on several computers (more or less same config). I've listed the version in my previous ticket but I was just able to reproduce with nix (Nix) 2.22.0
. I use home-manager if that helps.
Here is the manifest. If that helps I can reduce it:
cat /nix/var/nix/profiles/per-user/teto/profile/manifest.json
{"elements":{"aichat":{"active":true,"attrPath":"legacyPackages.x86_64-linux.aichat","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/bpdyvr51gkn66rgzkb9c8bpy6s3bdgr6-aichat-0.16.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"cargo":{"active":true,"attrPath":"legacyPackages.x86_64-linux.cargo","originalUrl":"flake:nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/4ry19b6xvzqf98fhq8ijk6zpxv13a483-cargo-1.77.1"],"url":"path:/nix/store/ql6i40glyqwilcpp2rnlb16xrqdp626g-source?lastModified=0&narHash=sha256-Y/3PNcPOHKeDEWAl1nA8OWPvipVslj9eibbX6AINDQk%3D"},"ddcui":{"active":true,"attrPath":"legacyPackages.x86_64-linux.ddcui","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/aclxi5a3r9mfv5l615d811ibjz4xxvsa-ddcui-0.5.4"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"gh-dash":{"active":true,"priority":5,"storePaths":["/nix/store/l5np3x2g6k4vvxxgpjyhnjv1mxsnffj9-gh-dash-3.13.0"]},"git-repo-manager":{"active":true,"attrPath":"packages.x86_64-linux.git-repo-manager","originalUrl":"github:colemickens/nixcfg","outputs":null,"priority":5,"storePaths":["/nix/store/jf5yzjqwzkkh9p7x9hr4k92zs0jsyiqf-git-repo-manager-0.7.16-unstable-2024-04-27"],"url":"github:colemickens/nixcfg/2bbfb3d563a8fb89bceb6ac7a7e73b8f601d1ed4?narHash=sha256-Oqtp2cLlqC9SLi36zmnN58iNPw55ULuoeqZFXk5bzkM%3D"},"git-revise":{"active":true,"attrPath":"legacyPackages.x86_64-linux.git-revise","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/86cx08py46acxc615cnchcfxc5mri2sx-python3.11-git-revise-0.7.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=5a49142f7fbc33e42b0b4fe948f53164b8e4dd32"},"gitui":{"active":true,"attrPath":"legacyPackages.x86_64-linux.gitui","originalUrl":"flake:nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/zvj4qhq346qyfhl9yh0d183jkcmlq7j2-gitui-0.26.1"],"url":"path:/nix/store/ql6i40glyqwilcpp2rnlb16xrqdp626g-source?lastModified=0&narHash=sha256-Y/3PNcPOHKeDEWAl1nA8OWPvipVslj9eibbX6AINDQk%3D"},"gnupg":{"active":true,"attrPath":"legacyPackages.x86_64-linux.gnupg","originalUrl":"flake:nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/5kk1414f5iadlz9b7vnbg5dlk6icryjl-gnupg-2.4.5"],"url":"path:/nix/store/ql6i40glyqwilcpp2rnlb16xrqdp626g-source?lastModified=0&narHash=sha256-Y/3PNcPOHKeDEWAl1nA8OWPvipVslj9eibbX6AINDQk%3D"},"gparted":{"active":true,"attrPath":"legacyPackages.x86_64-linux.gparted","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/iql37r18dxnwak7syibaqdh6x9iazqrj-gparted-1.6.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=5a49142f7fbc33e42b0b4fe948f53164b8e4dd32"},"komikku":{"active":true,"priority":5,"storePaths":["/nix/store/sjki8x8ix25n1nxjm807xxs1q6pz57yx-komikku-1.29.0"]},"libreoffice":{"active":true,"attrPath":"legacyPackages.x86_64-linux.libreoffice","originalUrl":"flake:nixpkgs","outputs":null,"priority":-10,"storePaths":["/nix/store/vfb17gx6y2wmcmkwy0rpwbdla56xw4wy-libreoffice-7.5.9.2-wrapped"],"url":"path:/nix/store/ql6i40glyqwilcpp2rnlb16xrqdp626g-source?lastModified=0&narHash=sha256-Y/3PNcPOHKeDEWAl1nA8OWPvipVslj9eibbX6AINDQk%3D"},"lutris":{"active":true,"attrPath":"legacyPackages.x86_64-linux.lutris","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/sa66n7i9i03ivh6260khjyjfwm0mjby9-lutris"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"nix-doc":{"active":true,"attrPath":"legacyPackages.x86_64-linux.nix-doc","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/v7hl0siq0x363sl9m0iyynx82hhn4jlb-nix-doc-0.6.5"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"nix-output-monitor":{"active":true,"attrPath":"legacyPackages.x86_64-linux.nix-output-monitor","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/l090fngr29b3j6k3blb05l4f8qy8379m-nix-output-monitor-2.1.2"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"nix-universal-prefetch":{"active":true,"attrPath":"legacyPackages.x86_64-linux.nix-universal-prefetch","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/84nvba94vcya6klxik9yw51m47q2hgjv-nix-universal-prefetch-0.4.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"nurl":{"active":true,"attrPath":"legacyPackages.x86_64-linux.nurl","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/rjqb0f1710j8i3a158agyi5bzx20c3pq-nurl-0.3.13"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"ov":{"active":true,"attrPath":"legacyPackages.x86_64-linux.ov","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/00ajp3vah5r9bn208z5644lagc525ay0-ov-0.34.1"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=5a49142f7fbc33e42b0b4fe948f53164b8e4dd32"},"podman-tui":{"active":true,"attrPath":"legacyPackages.x86_64-linux.podman-tui","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/3mh4sh05jja8whymvsywvjbd9qs8717i-podman-tui-1.0.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"popcorntime":{"active":true,"attrPath":"legacyPackages.x86_64-linux.popcorntime","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/sdcnn8c14aan8m3sgj24zvk0mlap9942-popcorntime-0.5.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"process-compose":{"active":true,"attrPath":"legacyPackages.x86_64-linux.process-compose","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/xiqwdkk4blifr86rgvsh03g0rs36qv2n-process-compose-1.2.0"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"},"star-history":{"active":true,"attrPath":"legacyPackages.x86_64-linux.star-history","originalUrl":"git+file:///home/teto/nixpkgs3","outputs":null,"priority":5,"storePaths":["/nix/store/wgb225iw4kq7l9v0fmqn9gmhk51m6zcc-star-history-1.0.21"],"url":"git+file:///home/teto/nixpkgs3?ref=refs/heads/teto/update-lua-packages&rev=fc0af66e43676db32097fefb42a850095619784e"},"sway-easyfocus-unstable":{"active":true,"priority":5,"storePaths":["/nix/store/zzhqhcni6cwgsxxwapn8f9zyd40g9qqs-sway-easyfocus-unstable-2023-11-05"]},"view_json":{"active":true,"attrPath":"packages.x86_64-linux.view_json","originalUrl":"git+file:///home/teto/nova/jinko/dev","outputs":null,"priority":5,"storePaths":["/nix/store/cly4fr2qkp2dz4nr2ds3hpbca6vp94lx-view_json"],"url":"git+file:///home/teto/nova/jinko/dev?ref=refs/heads/matt/more-trial-metrics&rev=4adbaeb5a80fd6aa9de84b79463e272b1ed536a4"},"vlc":{"active":true,"attrPath":"legacyPackages.x86_64-linux.vlc","originalUrl":"flake:nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/baxb0m4453wnpfhdl6mcxvinp17wfwhg-vlc-3.0.20"],"url":"path:/nix/store/ql6i40glyqwilcpp2rnlb16xrqdp626g-source?lastModified=0&narHash=sha256-Y/3PNcPOHKeDEWAl1nA8OWPvipVslj9eibbX6AINDQk%3D"},"xdg-terminal-exec-unstable":{"active":true,"priority":5,"storePaths":["/nix/store/cdygis986l0pp43iyjh9k79kl9d63i6a-xdg-terminal-exec-unstable-2023-12-08"]},"ytfzf":{"active":true,"attrPath":"legacyPackages.x86_64-linux.ytfzf","originalUrl":"git+file:///home/teto/nixpkgs","outputs":null,"priority":5,"storePaths":["/nix/store/wd5m1g8wmixx1c97dllfxs4rsblxzpnq-ytfzf-2.6.2"],"url":"git+file:///home/teto/nixpkgs?ref=refs/heads/nixos-unstable&rev=bca312de5a21eee623f0a6f8832121db381b9c67"}},"version":3}
from nix.
Recently got this issue on nixos with home-manager:
fabian@nixos ~/D/O/n/main (main) [1]> home-manager -I "nixpkgs=$PWD" switch --keep-going
/nix/store/4mwvnf1h075c6hknpqwfga8s6c1i5w3j-home-manager-generation
Starting Home Manager activation
Activating checkFilesChanged
Activating checkLinkTargets
Activating writeBoundary
Activating linkGeneration
Cleaning up orphan links from /home/fabian
No change so reusing latest profile generation 213
Creating home file links in /home/fabian
Activating batCache
No themes were found in '/home/fabian/.config/bat/themes', using the default set
No syntaxes were found in '/home/fabian/.config/bat/syntaxes', using the default set.
Writing theme set to /home/fabian/.cache/bat/themes.bin ... okay
Writing syntax set to /home/fabian/.cache/bat/syntaxes.bin ... okay
Writing metadata to folder /home/fabian/.cache/bat ... okay
Activating installPackages
error: profile manifest '/nix/var/nix/profiles/per-user/fabian/profile/manifest.json' has unsupported version 3
error: profile manifest '/nix/var/nix/profiles/per-user/fabian/profile/manifest.json' has unsupported version 3
Oops, Nix failed to install your new Home Manager profile!
Perhaps there is a conflict with a package that was installed using
"nix profile install"? Try running
nix profile list
and if there is a conflicting package you can remove it with
nix profile remove {number | store path}
Then try activating your Home Manager configuration again.
fabian@nixos ~/D/O/n/main (main) [1]> nix profile list
error: profile manifest '/nix/var/nix/profiles/per-user/fabian/profile/manifest.json' has unsupported version 3
fabian@nixos ~/D/O/n/main (main) [1]>
from nix.
Related Issues (20)
- Using __structuredAttrs ignores top-level reference checks HOT 2
- nix3-build should release memory acquired for evaluation before building the derivation HOT 7
- Accidentally Did A "sudo apt install nix-bin" Before Curl Command Install Of Nix HOT 3
- Feature request HOT 1
- Re-enable setuid i686-linux test
- Compile time option to remove support for fetchurl's SHA-1/MD5
- Sort `StorePath` by name except where necessary for legacy hashing
- Inadequate forward compatibility in derivations
- nix-prefetch-url doesn't use the fetcher cache
- Spam due to `lib.warn` usages in `aliases.nix` when running `nix search` for the first time. HOT 4
- nix path-info --json always return with exit code 0 contradicting docs
- NixOS Graphical ISO image DNS ERROR on cache.nixos
- macOS installer: upcoming UID clash on macOS 15 Sequoia HOT 13
- Installer error on Google Project IDX, sudo command not found HOT 3
- Detect remote `systemFeatures` automatically
- .lock files incorrectly block the build process HOT 2
- nix-copy-closure to ssh:// store tries to log in with empty SSH username
- Mixed C++ and preprocessor directive indentation
- -Wdeprecated
- C API: Split test suite, headers into C++-independent component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nix.