diff --git a/default.nix b/default.nix index faed7e2635403..8c7dd3788f88b 100644 --- a/default.nix +++ b/default.nix @@ -1,5 +1,7 @@ let requiredVersion = import ./lib/minver.nix; in + + if ! builtins ? nixVersion || builtins.compareVersions requiredVersion builtins.nixVersion == 1 then abort '' diff --git a/pkgs/development/libraries/libngspice/default.nix b/pkgs/development/libraries/libngspice/default.nix index 0270050cd0012..044d1b25fafe1 100644 --- a/pkgs/development/libraries/libngspice/default.nix +++ b/pkgs/development/libraries/libngspice/default.nix @@ -40,6 +40,7 @@ stdenv.mkDerivation rec { ] ++ [ "--enable-xspice" "--enable-cider" + "--enable-osdi" ]; enableParallelBuilding = true; @@ -49,7 +50,7 @@ stdenv.mkDerivation rec { mainProgram = "ngspice"; homepage = "http://ngspice.sourceforge.net"; license = with licenses; [ bsd3 gpl2Plus lgpl2Plus ]; # See https://sourceforge.net/p/ngspice/ngspice/ci/master/tree/COPYING - maintainers = with maintainers; [ bgamari rongcuid ]; + maintainers = with maintainers; [ bgamari ]; platforms = platforms.unix; }; }