Skip to content

Commit

Permalink
Stable link to OE4T/meta-tegra instead of master
Browse files Browse the repository at this point in the history
Recent update in repo https://github.com/OE4T/meta-tegra (this one OE4T/meta-tegra@b86c2ae) in fact breaks `jetpack-nixos` build:
```
hash mismatch in fixed-output derivation '/nix/store/n59rw7dri9dacvrav379m3i621qql6nf-0003-Update-conversion-defaults-to-match-NVIDIA-sources.patch.drv':
      >          specified: sha256-vGilgHWinrKjX+ikHo0J20PL713+w+lv46dBgfdvsZM=
      >             got:    sha256-6xCEjf432FLksCCk8+EpAbQU3PeGICOQ+6Q2OusUNa4=
```

I think we should refer all external repos by stable links to the certain commits instead of branches.
  • Loading branch information
IlyaNiklyaev authored and danielfullmer committed Feb 7, 2024
1 parent 0cf783a commit 6ae4ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/l4t/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ let
_l4t-multimedia-v4l = libv4l.overrideAttrs ({ nativeBuildInputs ? [ ], patches ? [ ], postPatch ? "", ... }: {
nativeBuildInputs = nativeBuildInputs ++ [ dpkg ];
patches = patches ++ lib.singleton (fetchpatch {
url = "https://raw.githubusercontent.com/OE4T/meta-tegra/master/recipes-multimedia/libv4l2/libv4l2-minimal/0003-Update-conversion-defaults-to-match-NVIDIA-sources.patch";
url = "https://raw.githubusercontent.com/OE4T/meta-tegra/85aa94e16104debdd01a3f61a521b73d86340a9f/recipes-multimedia/libv4l2/libv4l2-minimal/0003-Update-conversion-defaults-to-match-NVIDIA-sources.patch";
sha256 = "sha256-vGilgHWinrKjX+ikHo0J20PL713+w+lv46dBgfdvsZM=";
});
# Use a placeholder path that we replace in the l4t-multimedia derivation, We avoid an infinite recursion problem this way.
Expand Down

0 comments on commit 6ae4ce1

Please sign in to comment.