mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-13 19:57:19 +00:00
stm32 compile support
This commit is contained in:
parent
1980c01c2d
commit
8573e86539
2 changed files with 23 additions and 13 deletions
|
@ -36,17 +36,23 @@ in {
|
||||||
|
|
||||||
programs.chromium.package = pkgs.chromium-mac;
|
programs.chromium.package = pkgs.chromium-mac;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs;
|
||||||
colima
|
[
|
||||||
iterm2
|
colima
|
||||||
pinentry-mac
|
iterm2
|
||||||
pinentry-touchid
|
pinentry-mac
|
||||||
pngpaste
|
pinentry-touchid
|
||||||
qbittorrent-mac
|
pngpaste
|
||||||
spoof-mac
|
qbittorrent-mac
|
||||||
utm
|
spoof-mac
|
||||||
vlc-mac
|
utm
|
||||||
];
|
vlc-mac
|
||||||
|
]
|
||||||
|
++ (let
|
||||||
|
pkgs_x86_only = pkgs // {system = "x86_64-darwin";};
|
||||||
|
in (with pkgs_x86_only; [
|
||||||
|
gcc-arm-embedded
|
||||||
|
]));
|
||||||
|
|
||||||
targets.darwin = {
|
targets.darwin = {
|
||||||
defaults = {
|
defaults = {
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
linux = with pkgs; [];
|
linux = with pkgs; [gcc-arm-embedded];
|
||||||
python-wp = pkgs.python310.withPackages (p:
|
python-wp = pkgs.python310.withPackages (p:
|
||||||
with p; [
|
with p; [
|
||||||
keyring
|
keyring
|
||||||
|
@ -65,6 +65,10 @@
|
||||||
xkeyval
|
xkeyval
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
fenix-rust = pkgs.fenix.combine (with pkgs.fenix; [
|
||||||
|
latest.toolchain
|
||||||
|
targets.thumbv7em-none-eabihf.latest.rust-std
|
||||||
|
]);
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
[
|
[
|
||||||
|
@ -83,7 +87,7 @@ in {
|
||||||
docker
|
docker
|
||||||
docker-compose
|
docker-compose
|
||||||
fd
|
fd
|
||||||
fenix.latest.toolchain
|
fenix-rust
|
||||||
findutils
|
findutils
|
||||||
gawk
|
gawk
|
||||||
gnuplot
|
gnuplot
|
||||||
|
|
Loading…
Add table
Reference in a new issue