remove old devenvs
This commit is contained in:
parent
3220845ef3
commit
e93daf224e
4 changed files with 1 additions and 51 deletions
|
@ -59,12 +59,7 @@
|
||||||
|
|
||||||
nur.url = "github:nix-community/NUR";
|
nur.url = "github:nix-community/NUR";
|
||||||
|
|
||||||
# devenv
|
#vps-testing.url = "path:/home/admin/vpsnew";
|
||||||
rust-overlay = {
|
|
||||||
url = "github:oxalica/rust-overlay";
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
inputs.flake-utils.follows = "flake-utils";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = inputs @ { self, nixpkgs, ... }: {
|
outputs = inputs @ { self, nixpkgs, ... }: {
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
outerInputs @ { self, inputs, system, pkgs, ... }: {
|
|
||||||
nix.registry.system.flake = self;
|
|
||||||
|
|
||||||
system.extraDependencies = [
|
|
||||||
(import ./rust.nix outerInputs)
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -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)
|
|
|
@ -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";
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue