Skip to content

Instantly share code, notes, and snippets.

@pete3n
Last active November 2, 2024 12:54
Show Gist options
  • Save pete3n/dee7b42dfeb2e28c60218353e59d0ec9 to your computer and use it in GitHub Desktop.
Save pete3n/dee7b42dfeb2e28c60218353e59d0ec9 to your computer and use it in GitHub Desktop.
Cross-build a local package file

Cross-build a local package file

nix-build -E 'with import <nixpkgs> { crossSystem = { config = "mips-linux-gnu"; }; }; callPackage ./angryoxide/default.nix { }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment