diff --git a/machines/rigel/configuration.nix b/machines/rigel/configuration.nix index 7b32594..846d03a 100644 --- a/machines/rigel/configuration.nix +++ b/machines/rigel/configuration.nix @@ -12,6 +12,7 @@ ]; services.inventree = { + enable = true; hostName = "localhost"; }; diff --git a/modules/nixos/inventree/default.nix b/modules/nixos/inventree/default.nix index 6e4346a..73a71b0 100644 --- a/modules/nixos/inventree/default.nix +++ b/modules/nixos/inventree/default.nix @@ -29,7 +29,7 @@ let }; in { - options.services.inventree = { + options.services.inventree = builtins.break { enable = mkEnableOption "InvenTree parts manager"; package = lib.mkOption { diff --git a/overlays/default.nix b/overlays/default.nix index 79204f0..fd293c0 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -4,13 +4,13 @@ default = final: prev: import (../pkgs/overlay.nix) inputs final prev; }; - perSystem = - { system, ... }: - { - _module.args.pkgs = import inputs.nixpkgs { - inherit system; - overlays = [ inputs.self.overlays.default ]; - config = { }; - }; - }; + # perSystem = + # { system, ... }: + # { + # _module.args.pkgs = import inputs.nixpkgs { + # inherit system; + # overlays = [ inputs.self.overlays.default ]; + # config = { }; + # }; + # }; } diff --git a/pkgs/python/pytest-codestyle/pytest-codestyle_ b/pkgs/python/pytest-codestyle/pytest-codestyle_ deleted file mode 100644 index c74fad6..0000000 --- a/pkgs/python/pytest-codestyle/pytest-codestyle_ +++ /dev/null @@ -1,36 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - wheel, -}: - -buildPythonPackage rec { - pname = "pytest-pycodestyle"; - version = "2.4.1"; - pyproject = true; - - src = fetchFromGitHub { - owner = "henry0312"; - repo = "pytest-pycodestyle"; - rev = "v${version}"; - hash = "sha256-kvjkpDPNhaXjMLQbrJFusRINgsyeBwkxcWm9rxkuj/Q="; - }; - - build-system = [ - setuptools - wheel - ]; - - pythonImportsCheck = [ - "pytest_pycodestyle" - ]; - - meta = { - description = "Pytest plugin to run pycodestyle"; - homepage = "https://github.com/henry0312/pytest-pycodestyle"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ ]; - }; -} diff --git a/pkgs/python/sentry-sdk/default.nix b/pkgs/python/sentry-sdk/default.nix index c07987d..0c75d44 100644 --- a/pkgs/python/sentry-sdk/default.nix +++ b/pkgs/python/sentry-sdk/default.nix @@ -1,4 +1,11 @@ -{ lib, buildPythonPackage, fetchFromGitHub, setuptools, wheel, certifi, urllib3, +{ + lib, + buildPythonPackage, + fetchFromGitHub, + setuptools, + wheel, + certifi, + urllib3, }: buildPythonPackage rec { @@ -14,17 +21,22 @@ buildPythonPackage rec { fetchSubmodules = true; }; - build-system = [ setuptools wheel ]; + build-system = [ + setuptools + wheel + ]; - dependencies = [ certifi urllib3 ]; + dependencies = [ + certifi + urllib3 + ]; pythonImportsCheck = [ "sentry_sdk" ]; meta = { description = "The official Python SDK for Sentry.io"; homepage = "https://github.com/getsentry/sentry-python"; - changelog = - "https://github.com/getsentry/sentry-python/blob/${src.rev}/CHANGELOG.md"; + changelog = "https://github.com/getsentry/sentry-python/blob/${src.rev}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ ]; };