fix(nix/flake): adding the condition to add valgrind to packages only on linux

This commit is contained in:
Raphael 2026-03-09 20:17:48 +01:00
parent 459ead9573
commit c7139eada6
No known key found for this signature in database

View file

@ -35,7 +35,7 @@
in
{
devShells.default = pkgs.mkShell {
name = "libasm-42";
name = "drquine-42";
buildInputs =
with pkgs;
[
@ -49,19 +49,10 @@
lldb
coreutils
xxd
valgrind
clang-tools
asm-lsp
]
++ (
if pkgs.stdenv.isLinux then
[
strace
valgrind
]
else
[ ]
);
++ (if pkgs.stdenv.isLinux then [ valgrind strace ] else []);
shellHook = ''
export AS=nasm