diff --git a/flake.nix b/flake.nix index 3b5c45c..1fc7c9c 100644 --- a/flake.nix +++ b/flake.nix @@ -80,7 +80,7 @@ formatter = forAllSystems (system: nixpkgs.legacyPackages."${system}".nixpkgs-fmt); # setup devshells against shell.nix - devShells = forAllSystems (pkgs: import ./shell.nix { inherit pkgs; }); + # devShells = forAllSystems (pkgs: import ./shell.nix { inherit pkgs; }); # extend lib with my custom functions lib = nixpkgs.lib.extend ( diff --git a/shell.nix b/shell.nix index df06fe6..39ab879 100644 --- a/shell.nix +++ b/shell.nix @@ -8,33 +8,16 @@ }; system = builtins.currentSystem; overlays = [ ]; # Explicit blank overlay to avoid interference - - in import nixpkgs { inherit system overlays; } , ... }: let - # setup the ssssnaaake - my-python = pkgs.python311; - python-with-my-packages = my-python.withPackages - (p: with p; [ - mkdocs-material - mkdocs-minify - pygments - ]); in pkgs.mkShell { # Enable experimental features without having to specify the argument NIX_CONFIG = "experimental-features = nix-command flakes"; - buildInputs = [ - python-with-my-packages - ]; - shellHook = '' - PYTHONPATH=${python-with-my-packages}/${python-with-my-packages.sitePackages} - ''; - nativeBuildInputs = with pkgs; [ nix home-manager @@ -45,7 +28,5 @@ pkgs.mkShell { sops pre-commit gitleaks - mkdocs - mqttui ]; }