Created
October 17, 2020 22:00
-
-
Save LaloHao/cf8ecf090eb8a5d564d73481e3025e52 to your computer and use it in GitHub Desktop.
Pic development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> { | |
config = { | |
allowUnfree = true; | |
}; | |
}; | |
inherit (pkgs) sdcc gputils automake; | |
in | |
sdcc.overrideAttrs(o: rec { | |
inherit gputils; | |
buildInputs = o.buildInputs or [] ++ [ automake gputils ]; | |
propagatedBuildInputs = o.propagatedBuildInputs or [] ++ [ gputils ]; | |
configureFlags = map (f: "--enable-${f}-port") [ "pic14" "pic16" ]; | |
}) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
pkgs = import <nixpkgs> { | |
config = { | |
allowUnfree = true; | |
}; | |
}; | |
inherit (pkgs) pk2cmd; | |
in pk2cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment