From d1ac19d9466b8801f2e80ce029bdb7fa2018dfe2 Mon Sep 17 00:00:00 2001 From: jahanson Date: Sat, 18 May 2024 10:52:47 -0500 Subject: [PATCH] Update shell --- flake.nix | 2 +- shell.nix | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) 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 ]; }