From aaf1253b51c460e668720feeadda41fe2a0a4f0c Mon Sep 17 00:00:00 2001 From: Vladimir Pouzanov Date: Thu, 11 May 2023 19:40:41 +0000 Subject: [PATCH] Remove the top-level configuration --- bin/node-template/flake.nix | 1 - flake.lock | 43 ------------------------------------- flake.nix | 24 --------------------- rust-toolchain.toml | 14 ------------ 4 files changed, 82 deletions(-) delete mode 100644 flake.lock delete mode 100644 flake.nix delete mode 100644 rust-toolchain.toml diff --git a/bin/node-template/flake.nix b/bin/node-template/flake.nix index 4dca47e82e89b..428efd09484dd 100644 --- a/bin/node-template/flake.nix +++ b/bin/node-template/flake.nix @@ -14,7 +14,6 @@ rustup clang protobuf - rustfmt ]; LIBCLANG_PATH = "${pkgs.libclang.lib}/lib"; diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 6d29c9ffccd19..0000000000000 --- a/flake.lock +++ /dev/null @@ -1,43 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "locked": { - "lastModified": 1678901627, - "narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1679944645, - "narHash": "sha256-e5Qyoe11UZjVfgRfwNoSU57ZeKuEmjYb77B9IVW7L/M=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "4bb072f0a8b267613c127684e099a70e1f6ff106", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index b21182aa923e1..0000000000000 --- a/flake.nix +++ /dev/null @@ -1,24 +0,0 @@ -{ - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = { self, nixpkgs, flake-utils, ... }: flake-utils.lib.eachDefaultSystem (system: - let - pkgs = import nixpkgs { inherit system; }; - in - { - devShells.default = pkgs.mkShell { - packages = with pkgs; [ - rustup - clang - protobuf - gnumake - rustfmt - ]; - - LIBCLANG_PATH = "${pkgs.libclang.lib}/lib"; - }; - }); -} diff --git a/rust-toolchain.toml b/rust-toolchain.toml deleted file mode 100644 index 64daeff68360a..0000000000000 --- a/rust-toolchain.toml +++ /dev/null @@ -1,14 +0,0 @@ -[toolchain] -channel = "nightly" -components = [ - "cargo", - "clippy", - "rust-analyzer", - "rust-src", - "rust-std", - "rustc-dev", - "rustc", - "rustfmt", -] -targets = [ "wasm32-unknown-unknown" ] -profile = "minimal"