From 66579afa149d9656887c1756c3cf36622f669d05 Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Tue, 21 Sep 2021 15:01:31 +0300 Subject: [PATCH] Revert "Update nheko" This reverts commit 0c364c74c46161b9fc787a58480931d692d78453. --- flake.lock | 29 ++++++---------------------- flake.nix | 5 ----- machines/AMD-Workstation/default.nix | 2 +- profiles/overlay.nix | 24 +---------------------- 4 files changed, 8 insertions(+), 52 deletions(-) diff --git a/flake.lock b/flake.lock index 8863cc9..8124666 100644 --- a/flake.lock +++ b/flake.lock @@ -32,22 +32,6 @@ "type": "github" } }, - "coeurl": { - "flake": false, - "locked": { - "lastModified": 1628872501, - "narHash": "sha256-bslkrBjAsf2co4lt9efEQ3R6YNR2+minZAKkcZKjykI=", - "ref": "master", - "rev": "22f58922da16c3b94d293d98a07cb7caa7a019e8", - "revCount": 51, - "type": "git", - "url": "https://nheko.im/nheko-reborn/coeurl" - }, - "original": { - "type": "git", - "url": "https://nheko.im/nheko-reborn/coeurl" - } - }, "crate2nix": { "flake": false, "locked": { @@ -353,11 +337,11 @@ "mtxclient": { "flake": false, "locked": { - "lastModified": 1630632658, - "narHash": "sha256-onpaWKkTgwQkIZrou7VmhlLRq5dIu1yZ8R/pc00KCkc=", + "lastModified": 1624110239, + "narHash": "sha256-JlTGwFZKQ0sJpOPtMPKY9wm11yDrdyNw9OKr7E4yBOQ=", "owner": "nheko-reborn", "repo": "mtxclient", - "rev": "a4f4c79153cc139c44aaf7bd5bf47fef6c0712b3", + "rev": "acfff15ca153723e41cf7ef06ff82b1c24c933ef", "type": "github" }, "original": { @@ -391,11 +375,11 @@ "nheko": { "flake": false, "locked": { - "lastModified": 1631536282, - "narHash": "sha256-kavv/Aw38skTuL6AlhgE5pdDm/8RWl3I+sheTJFQD3A=", + "lastModified": 1624613955, + "narHash": "sha256-/k/081pI0S8YHxbct1yhNqJQW4EKfu9/KsjLZ2CoQDU=", "owner": "nheko-reborn", "repo": "nheko", - "rev": "1b82b8242b1290b3ce39f932597e8cd3854b5e82", + "rev": "36f0e044398535143f24bbf2850df9e5b2947770", "type": "github" }, "original": { @@ -646,7 +630,6 @@ "inputs": { "NUR": "NUR", "base16-black-metal-scheme": "base16-black-metal-scheme", - "coeurl": "coeurl", "crdt": "crdt", "deploy-rs": "deploy-rs", "emacs-overlay": "emacs-overlay", diff --git a/flake.nix b/flake.nix index 7c97eb8..9e1b588 100644 --- a/flake.nix +++ b/flake.nix @@ -73,11 +73,6 @@ flake = false; }; - coeurl = { - url = "git+https://nheko.im/nheko-reborn/coeurl"; - flake = false; - }; - mopidy-ytmusic = { url = "github:OzymandiasTheGreat/mopidy-ytmusic"; flake = false; diff --git a/machines/AMD-Workstation/default.nix b/machines/AMD-Workstation/default.nix index 896c72d..5e9b758 100644 --- a/machines/AMD-Workstation/default.nix +++ b/machines/AMD-Workstation/default.nix @@ -40,7 +40,7 @@ enable = true; proxy = true; lanSize = 32; - serverIP = "95.217.152.163"; + serverIP = "147.75.100.17"; serverPort = 35944; serverKey = "sgLUARawWJejANs2CwuCptwJO55c4jkmnP0L14FNCyw="; privateKeyFile = config.secrets.wireguard-wg0.decrypted; diff --git a/profiles/overlay.nix b/profiles/overlay.nix index aceb9f0..359388a 100644 --- a/profiles/overlay.nix +++ b/profiles/overlay.nix @@ -142,34 +142,12 @@ in { nix-direnv = inputs.nix-direnv.defaultPackage.${system}; - coeurl = self.stdenv.mkDerivation { - name = "coeurl"; - src = inputs.coeurl; - buildInputs = [ self.curl.all self.libevent self.spdlog ]; - nativeBuildInputs = [ self.meson self.ninja self.pkg-config self.cmake ]; - }; - - mtxclient = super.mtxclient.overrideAttrs (oa: { + mtxclient = super.mtxclient.overrideAttrs (_: { src = inputs.mtxclient; - cmakeFlags = oa.cmakeFlags ++ [ "-DCMAKE_CXX_FLAGS=-DSPDLOG_FMT_EXTERNAL" ]; - buildInputs = oa.buildInputs ++ [ self.libevent self.curl.all self.coeurl self.spdlog.dev ]; }); nheko = (super.nheko.overrideAttrs (oa: { src = inputs.nheko; - postPatch = '' - substituteInPlace CMakeLists.txt --replace "# Fixup bundled keychain include dirs" "find_package(Boost COMPONENTS iostreams system thread REQUIRED)" - ''; - buildInputs = oa.buildInputs ++ [ - self.xorg.libXdmcp - self.pcre - self.libunwind - self.elfutils - self.coeurl - self.curl - self.libevent - ]; - cmakeFlags = oa.cmakeFlags ++ [ "-DBUILD_SHARED_LIBS=OFF" ]; })).override { mtxclient = self.mtxclient; }; }) ];