Skip to content

Instantly share code, notes, and snippets.

@telent
Created June 14, 2021 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telent/ef2afa3b819829cd69b789fa438b7a07 to your computer and use it in GitHub Desktop.
Save telent/ef2afa3b819829cd69b789fa438b7a07 to your computer and use it in GitHub Desktop.
[dan@noetbook:~/src/odroid/uboot]$ cat default.nix
with import <nixpkgs> {} ;
pkgsCross.aarch64-multiplatform.ubootOdroidC2.override {
extraPatches = [
(pkgs.fetchPatch {
url="https://source.denx.de/u-boot/u-boot/-/commit/a246e21351778a93805b3f52302a420f4b268601.diff";
sha256 = lib.fakeHash;
})];
}
[dan@noetbook:~/src/odroid/uboot]$ nix-build
error: attribute 'override' missing, at /home/dan/src/odroid/uboot/default.nix:2:1
(use '--show-trace' to show detailed location information)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment