From e189ebbdd4ae2abb7a25648ee30b1f9f918e79f3 Mon Sep 17 00:00:00 2001 From: Myzel394 <50424412+Myzel394@users.noreply.github.com> Date: Mon, 30 Sep 2024 09:57:24 +0200 Subject: [PATCH] fix(flake): Do not add postfix to devshell when on Darwin --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index d9d7af0..963aa7e 100644 --- a/flake.nix +++ b/flake.nix @@ -43,9 +43,10 @@ devShells.default = pkgs.mkShell { buildInputs = inputs ++ (with pkgs; [ mailutils - postfix wireguard-tools - ]); + ]) ++ (if pkgs.stdenv.isLinux then with pkgs; [ + postfix + ] else []); }; } );