Comments (5)
Yeah, its this: https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/, although I don't know why its still happening even though they apparently reverted it (maybe caching).
It is really my fault though, as you are supposed to use fetchFromGitHub
to avoid this exact problem, but it was a bit more difficult to properly generate the code for it with superflore so I never implemented it.
from nix-ros-overlay.
The entry point is here: https://github.com/lopsided98/superflore/blob/nixos-support/superflore/generators/nix/run.py
from nix-ros-overlay.
I'm going to leave things as they are for now, since the change is being reverted. When I get a chance I'll try to implement fetchFromGitHub
, but no guarantees on when that will happen.
from nix-ros-overlay.
When I get a chance I'll try to implement fetchFromGitHub, but no guarantees on when that will happen.
No worries, I might be able to. Although I'm not sure how the current nix files are being generated. I see the superflore-gen-nix
but I have no idea where the source code from that command is coming from since the superflore repo doesn't mention anything like fetchurl
or superflore-gen-nix
.
https://github.blog/changelog/2023-01-30-git-archive-checksums-may-change/
Wow I'm honeslty suprised more of the nixpkgs stuff I use isnt breaking. I always grab straight from tar files.
I've updated hashes for ~600 files using a script, but that was before I knew tar files were the problem here (I did get the nix-shell command from the readme working though). I can probably just use the same script to switch them all to fetchFromGithub
. If you're generating the files though, the script I made is a pretty hacky solution so I doubt it would work long term.
from nix-ros-overlay.
Thanks! I went ahead and made a fork that adds fetchFromGithub
when its possible to, but otherwise keeps the old functionality. It does depend on nix-prefetch
, which is the only reliably way I know to get the sha256 for fetchFromGithub
.
I did some dryrun's and everything seems to be working (at least as much as it was before); I confirmed the outputs include fetchFromGithub
and work. The generator is skipping a lot of packages though, so I wonder if I need to force a reevaluation of all packages.
I'm not sure about the AUTH token stuff, it seems to me like the dry run is good enough for me to generate nix-ros-overlay.
from nix-ros-overlay.
Related Issues (20)
- can't compile flake example HOT 4
- ERROR: Unable to communicate with master! HOT 3
- ros-env fails to evaluate: empy_3 no longer exists HOT 3
- How can I bring up roscore if the ros packages are installed using homemanager
- package franka-hw failed to build HOT 3
- How does the installation process work? HOT 2
- package gazebo failed to build HOT 6
- panda-moveit-config causes collision when included in ros-env (buildEnv) HOT 3
- How do I include launch files from a package i packaged myself? HOT 2
- Have anyone tried to package the ros1 version of ouster-ros? HOT 1
- Moveit Packages in Iron: Ros-env cmake copy issue HOT 2
- How do you use rosdep HOT 1
- Sophus doesn't build HOT 1
- gazebo example core dump HOT 1
- Can't use `rmw_cyclonedds_cpp` with ros2 `humble` because path to `*.so` can't be resolved HOT 5
- Installing ROS2 Humble & Gazebo11 outside NixOS HOT 1
- Failing to execute `colcon build` HOT 2
- Could not find the resource 'rqt_gui' of type 'packages' HOT 2
- ROS2 having a hard time getting rqt plugins working HOT 2
- workaround included: rqt won't load cpp plugins due to SIP not loading even though Shiboken/PySide should be used HOT 4
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-ros-overlay.