aboutsummaryrefslogtreecommitdiff
path: root/devShells
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2025-11-14 09:18:36 +0100
committerKarel Kočí <cynerd@email.cz>2025-11-14 09:18:36 +0100
commite44c078ebcea9d81da6d61a0ae596a3e46e9a12d (patch)
tree8870b8640cec95c389b9afc5dbbdd048f88145ef /devShells
parent7606d67ed1dc56b5b5f05b6423f7a5e81db05151 (diff)
downloadnixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.tar.gz
nixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.tar.bz2
nixos-personal-e44c078ebcea9d81da6d61a0ae596a3e46e9a12d.zip
treewide: full update in some time
Diffstat (limited to 'devShells')
-rw-r--r--devShells/apo.nix2
-rw-r--r--devShells/c.nix101
-rw-r--r--devShells/default.nix5
3 files changed, 54 insertions, 54 deletions
diff --git a/devShells/apo.nix b/devShells/apo.nix
index 07ed91b..39b890a 100644
--- a/devShells/apo.nix
+++ b/devShells/apo.nix
@@ -1,6 +1,6 @@
pkgs: c: let
riscvPkgs = import pkgs.path {
- localSystem = pkgs.buildPlatform.system;
+ localSystem = pkgs.stdenv.buildPlatform.system;
crossSystem = {
config = "riscv32-none-elf";
libc = "newlib";
diff --git a/devShells/c.nix b/devShells/c.nix
index b7c2519..7c8c353 100644
--- a/devShells/c.nix
+++ b/devShells/c.nix
@@ -1,61 +1,60 @@
-pkgs:
+pkgs: extra:
pkgs.mkShell {
- packages = with pkgs; [
- clang-tools
- ctags
- gcc
- gdb
- pkg-config
+ packages = with pkgs;
+ [
+ clang-tools
+ ctags
+ pkg-config
- autoconf
- automake
- libtool
+ autoconf
+ automake
+ libtool
- gnumake
- bear
- meson
- ninja
- cmake
+ gnumake
+ bear
+ meson
+ ninja
+ cmake
- valgrind
- lcov
- massif-visualizer
- cppcheck
- flawfinder
+ valgrind
+ lcov
+ cppcheck
+ flawfinder
- check
- curl
- ncurses
- flex
- bison
- gperf
- gobject-introspection
- gtk3
- gtk4
+ check
+ curl
+ ncurses
+ flex
+ bison
+ gperf
+ gobject-introspection
+ gtk3
+ gtk4
- # Various libraries
- openssl.dev
- zlib.dev
- curl.dev
- libconfig
- czmq
- libevent.dev
+ # Various libraries
+ openssl.dev
+ zlib.dev
+ curl.dev
+ libconfig
+ czmq
+ libevent.dev
- # LVGL
- SDL2
- libffi.dev
+ # LVGL
+ SDL2
+ libffi.dev
- # Qt
- qt6.qttools
- qt6.qtbase
- qt6.qttranslations
- qt6.qtserialport
- qt6.qtwebsockets
- qt6.qtcharts
- qt6.qtsvg
- qt6.qtnetworkauth
- qt6.qtwayland
- qt6.wrapQtAppsHook
- ];
+ # Qt
+ qt6.qttools
+ qt6.qtbase
+ qt6.qttranslations
+ qt6.qtserialport
+ qt6.qtwebsockets
+ qt6.qtcharts
+ qt6.qtsvg
+ qt6.qtnetworkauth
+ qt6.qtwayland
+ qt6.wrapQtAppsHook
+ ]
+ ++ extra;
meta.platforms = pkgs.lib.platforms.linux;
}
diff --git a/devShells/default.nix b/devShells/default.nix
index e6a80ad..462a791 100644
--- a/devShells/default.nix
+++ b/devShells/default.nix
@@ -1,6 +1,7 @@
pkgs: rec {
- c = import ./c.nix pkgs;
+ c = import ./c.nix pkgs [pkgs.gcc pkgs.gdb];
+ #clang = import ./c.nix pkgs [pkgs.clang];
#musl = import ./c.nix pkgs.pkgsMusl;
#llvm = import ./c.nix pkgs.pkgsLLVM;
- apo = import ./apo.nix pkgs c;
+ #apo = import ./apo.nix pkgs c;
}