Skip to content

Instantly share code, notes, and snippets.

@cleverca22 cleverca22/default.nix Secret
Last active Feb 22, 2019

What would you like to do?
pkgs = import <nixpkgs> {};
in pkgs.pkgsCross.avr.stdenv.mkDerivation {
name = "firmware";
src = ./.;
installPhase = ''
mkdir $out
cp avr.bin $out/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.