From 451b49485100ed4567e6667af370493e7ba28d7a Mon Sep 17 00:00:00 2001 From: Martin Larsson Date: Thu, 8 May 2025 19:14:17 +0200 Subject: [PATCH] Remove vector code stuff --- nix/pkgs/darwin_personal.nix | 10 +--------- nix/pkgs/darwin_work.nix | 11 +---------- nix/pkgs/wsl.nix | 9 +-------- 3 files changed, 3 insertions(+), 27 deletions(-) diff --git a/nix/pkgs/darwin_personal.nix b/nix/pkgs/darwin_personal.nix index 0993fbd..f41ab7d 100644 --- a/nix/pkgs/darwin_personal.nix +++ b/nix/pkgs/darwin_personal.nix @@ -1,17 +1,9 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: { home = { packages = with pkgs; [ - (python313.withPackages (pythonPkgs: [ - pythonPkgs.pipx - ])) clang clang-tools ]; }; - - home.activation.installVectorcode = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - echo "Installing VectorCode with pipx..." - $DRY_RUN_CMD ${pkgs.python311Packages.pipx}/bin/pipx install --force vectorcode - ''; } diff --git a/nix/pkgs/darwin_work.nix b/nix/pkgs/darwin_work.nix index 86d3acc..1f74a60 100644 --- a/nix/pkgs/darwin_work.nix +++ b/nix/pkgs/darwin_work.nix @@ -1,10 +1,9 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: { home = { packages = with pkgs; [ (python311.withPackages (pythonPkgs: [ pythonPkgs.pip - pythonPkgs.pipx pythonPkgs.setuptools ])) pcre @@ -12,12 +11,4 @@ mkdocs ]; }; - - (python313.withPackages (pythonPkgs: [ - pythonPkgs.pipx - ])) - home.activation.installVectorcode = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - echo "Installing VectorCode with pipx..." - $DRY_RUN_CMD ${pkgs.python311Packages.pipx}/bin/pipx install --force vectorcode - ''; } diff --git a/nix/pkgs/wsl.nix b/nix/pkgs/wsl.nix index 1d21faa..7ca6434 100644 --- a/nix/pkgs/wsl.nix +++ b/nix/pkgs/wsl.nix @@ -1,17 +1,10 @@ -{ pkgs, lib, ... }: +{ pkgs, ... }: { home = { packages = with pkgs; [ - (python313.withPackages (pythonPkgs: [ - pythonPkgs.pipx - ])) wslu clang clang-tools ]; }; - home.activation.installVectorcode = lib.hm.dag.entryAfter [ "writeBoundary" ] '' - echo "Installing VectorCode with pipx..." - $DRY_RUN_CMD ${pkgs.python311Packages.pipx}/bin/pipx install --force vectorcode - ''; }