lopsided98 / nix-ros-overlay

ROS overlay for the Nix package manager
Apache License 2.0
191 stars 76 forks source link

nix develop .#example-ros2-basic fails in patchPhase #433

Closed kjeremy closed 1 month ago

kjeremy commented 1 month ago
[jkolb@nixos:~/nix-ros-overlay]$ nix develop .#example-ros2-basic
error: builder for '/nix/store/d8whcq9mm3gnc6a96shzw5c3whmlmi2j-ros-humble-uncrustify-vendor-2.0.2-r2.drv' failed with exit code 1;
       last 7 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/vz998j4ry8qqs0pfy1lcbnvlrfa6mfan-2.0.2-2.tar.gz
       > source root is uncrustify_vendor-release-release-humble-uncrustify_vendor-2.0.2-2
       > setting SOURCE_DATE_EPOCH to timestamp 1650424968 of file uncrustify_vendor-release-release-humble-uncrustify_vendor-2.0.2-2/package.xml
       > Running phase: patchPhase
       > substituteStream(): ERROR: pattern https://github.com/uncrustify/uncrustify/archive/uncrustify-0.68.1.tar.gz doesn't match anything in file 'CMakeLists.txt'
       > /nix/store/d3dzfy4amjl826fb8j00qp1d9887h7hm-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/d8whcq9mm3gnc6a96shzw5c3whmlmi2j-ros-humble-uncrustify-vendor-2.0.2-r2.drv'.
error: 1 dependencies of derivation '/nix/store/rsa1psvprcqx080735q1378npd6i03fh-ros-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/56hvix83yd4ic3p1rx0bc9fw223150wi-nix-shell-env.drv' failed to build
wentasah commented 1 month ago

Thanks for pointing this out. Quick fix in #434.