mirror of
https://github.com/willemml/dotfiles.nix.git
synced 2025-04-12 11:17:17 +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;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
colima
|
||||
iterm2
|
||||
pinentry-mac
|
||||
pinentry-touchid
|
||||
pngpaste
|
||||
qbittorrent-mac
|
||||
spoof-mac
|
||||
utm
|
||||
vlc-mac
|
||||
];
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
colima
|
||||
iterm2
|
||||
pinentry-mac
|
||||
pinentry-touchid
|
||||
pngpaste
|
||||
qbittorrent-mac
|
||||
spoof-mac
|
||||
utm
|
||||
vlc-mac
|
||||
]
|
||||
++ (let
|
||||
pkgs_x86_only = pkgs // {system = "x86_64-darwin";};
|
||||
in (with pkgs_x86_only; [
|
||||
gcc-arm-embedded
|
||||
]));
|
||||
|
||||
targets.darwin = {
|
||||
defaults = {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
linux = with pkgs; [];
|
||||
linux = with pkgs; [gcc-arm-embedded];
|
||||
python-wp = pkgs.python310.withPackages (p:
|
||||
with p; [
|
||||
keyring
|
||||
|
@ -65,6 +65,10 @@
|
|||
xkeyval
|
||||
;
|
||||
};
|
||||
fenix-rust = pkgs.fenix.combine (with pkgs.fenix; [
|
||||
latest.toolchain
|
||||
targets.thumbv7em-none-eabihf.latest.rust-std
|
||||
]);
|
||||
in {
|
||||
home.packages = with pkgs;
|
||||
[
|
||||
|
@ -83,7 +87,7 @@ in {
|
|||
docker
|
||||
docker-compose
|
||||
fd
|
||||
fenix.latest.toolchain
|
||||
fenix-rust
|
||||
findutils
|
||||
gawk
|
||||
gnuplot
|
||||
|
|
Loading…
Add table
Reference in a new issue