From c7139eada606a83df964b6ca5eb769155f9aa7bb Mon Sep 17 00:00:00 2001 From: Raphael Date: Mon, 9 Mar 2026 20:17:48 +0100 Subject: [PATCH] fix(nix/flake): adding the condition to add valgrind to packages only on linux --- flake.nix | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/flake.nix b/flake.nix index 1dab918..e880eb1 100644 --- a/flake.nix +++ b/flake.nix @@ -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