From e93daf224eaed921d3c735b65984271932d8fc98 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Thu, 24 Jul 2025 19:28:03 -0700 Subject: [PATCH] remove old devenvs --- flake.nix | 7 +------ modules/devenv/default.nix | 7 ------- modules/devenv/flakepart.nix | 10 ---------- modules/devenv/rust.nix | 28 ---------------------------- 4 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 modules/devenv/default.nix delete mode 100644 modules/devenv/flakepart.nix delete mode 100644 modules/devenv/rust.nix diff --git a/flake.nix b/flake.nix index 1a6fae3..1517446 100755 --- a/flake.nix +++ b/flake.nix @@ -59,12 +59,7 @@ nur.url = "github:nix-community/NUR"; - # devenv - rust-overlay = { - url = "github:oxalica/rust-overlay"; - inputs.nixpkgs.follows = "nixpkgs"; - inputs.flake-utils.follows = "flake-utils"; - }; + #vps-testing.url = "path:/home/admin/vpsnew"; }; outputs = inputs @ { self, nixpkgs, ... }: { diff --git a/modules/devenv/default.nix b/modules/devenv/default.nix deleted file mode 100644 index bafebe3..0000000 --- a/modules/devenv/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -outerInputs @ { self, inputs, system, pkgs, ... }: { - nix.registry.system.flake = self; - - system.extraDependencies = [ - (import ./rust.nix outerInputs) - ]; -} diff --git a/modules/devenv/flakepart.nix b/modules/devenv/flakepart.nix deleted file mode 100644 index 0f20035..0000000 --- a/modules/devenv/flakepart.nix +++ /dev/null @@ -1,10 +0,0 @@ -finputs @ { nixpkgs, ... }: let - systems = [ "x86_64-linux" ]; -in builtins.foldl' (a: b: a // b) {} (builtins.map (system: let - pkgs = import nixpkgs { inherit system; }; - inputs = finputs // { inherit system pkgs inputs; }; - in { - ${system} = { - rust-env = import ./rust.nix inputs; - }; - }) systems) diff --git a/modules/devenv/rust.nix b/modules/devenv/rust.nix deleted file mode 100644 index e63a56a..0000000 --- a/modules/devenv/rust.nix +++ /dev/null @@ -1,28 +0,0 @@ -outerInputs @ { inputs, ... }: let - pkgs = outerInputs.pkgs.appendOverlays [ (import inputs.rust-overlay) ]; -in pkgs.mkShell { - name = "rust-devenv"; - packages = with pkgs; [ - (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default.override { - extensions = [ - "rustc" - "rust-src" - "rust-docs" - "rust-std" - "cargo" - "clippy" - "rust-analyzer" - "miri" - ]; - })) - - cargo-expand - - # common deps - clang - pkg-config - openssl.dev - ]; - - shellHook = "exec $SHELL"; -}