remove old devenvs

This commit is contained in:
outfoxxed 2025-07-24 19:28:03 -07:00
parent 3220845ef3
commit e93daf224e
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
4 changed files with 1 additions and 51 deletions

View file

@ -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, ... }: {

View file

@ -1,7 +0,0 @@
outerInputs @ { self, inputs, system, pkgs, ... }: {
nix.registry.system.flake = self;
system.extraDependencies = [
(import ./rust.nix outerInputs)
];
}

View file

@ -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)

View file

@ -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";
}