From ef4d776730001e87c6ac281d79c05d5c0cb7831f Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Tue, 16 Jul 2024 19:16:23 -0600 Subject: [PATCH] flake: remove Signed-off-by: Sumner Evans --- .envrc | 8 ------- flake.lock | 61 ------------------------------------------------------ flake.nix | 33 ----------------------------- 3 files changed, 102 deletions(-) delete mode 100644 .envrc delete mode 100644 flake.lock delete mode 100644 flake.nix diff --git a/.envrc b/.envrc deleted file mode 100644 index 4520fd18..00000000 --- a/.envrc +++ /dev/null @@ -1,8 +0,0 @@ -if [[ $(uname -s) == "Linux" && $(uname --kernel-version | grep "NixOS") ]]; then - echo "The best OS (NixOS) has been detected. Using nice tools." - if ! has nix_direnv_version || ! nix_direnv_version 3.0.0; then - source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.0/direnvrc" "sha256-21TMnI2xWX7HkSTjFFri2UaohXVj854mgvWapWrxRXg=" - fi - - use flake -fi diff --git a/flake.lock b/flake.lock deleted file mode 100644 index 80c53416..00000000 --- a/flake.lock +++ /dev/null @@ -1,61 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1703255338, - "narHash": "sha256-Z6wfYJQKmDN9xciTwU3cOiOk+NElxdZwy/FiHctCzjU=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "6df37dc6a77654682fe9f071c62b4242b5342e04", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix deleted file mode 100644 index cbb2b616..00000000 --- a/flake.nix +++ /dev/null @@ -1,33 +0,0 @@ -{ - description = "mautrix-signal development environment"; - - 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 { - LIBCLANG_PATH = "${pkgs.llvmPackages_11.libclang.lib}/lib"; - - buildInputs = with pkgs; [ - clang - cmake - gnumake - protobuf - rust-cbindgen - rustup - olm - - go_1_20 - go-tools - gotools - - pre-commit - ]; - }; - })); -}