From d371d7ee5e81c7693e5367c971d377d0d05f2f73 Mon Sep 17 00:00:00 2001 From: Elias Almqvist Date: Sun, 28 Jul 2024 10:13:14 -0700 Subject: [PATCH] ngspice --- nix-darwin/home.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nix-darwin/home.nix b/nix-darwin/home.nix index 571507a..222b6d7 100644 --- a/nix-darwin/home.nix +++ b/nix-darwin/home.nix @@ -27,6 +27,14 @@ # patches = [ ./change-hello-to-hi.patch ]; # }); # }) + + (final: prev: { + ngspice = prev.ngspice.overrideAttrs (oldAttrs: { + configureFlags = (oldAttrs.configureFlags or []) ++ [ + "--with-ngshared" + ]; + }); + }) ]; # Configure your nixpkgs instance config = { @@ -82,6 +90,9 @@ ripgrep sshfs + # Simulators + ngspice + # Cringe pfetch neofetch