diff --git a/nixos/code.nix b/nixos/code.nix index b97c7015..f694a4f5 100644 --- a/nixos/code.nix +++ b/nixos/code.nix @@ -7,11 +7,7 @@ ... }: let - codexDesktopLinuxSource = pkgs.applyPatches { - name = "codex-desktop-linux-patched"; - src = inputs.codex-desktop-linux; - patches = [ ./patches/codex-desktop-linux-dmg-hash.patch ]; - }; + codexDesktopLinuxSource = inputs.codex-desktop-linux; codexDesktopLinux = let flake = import "${codexDesktopLinuxSource}/flake.nix"; diff --git a/nixos/flake.lock b/nixos/flake.lock index dd196195..b2ec1533 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -161,11 +161,11 @@ ] }, "locked": { - "lastModified": 1780092586, - "narHash": "sha256-xqFWCCEa8i1zD0NolREtdT8JNDv2pNZ7DQnNvsm0Qas=", + "lastModified": 1780151667, + "narHash": "sha256-pgae65LzF0XXpGoQQqZb4iULJejdiwR2+ycxqt+ojGc=", "owner": "ilysenko", "repo": "codex-desktop-linux", - "rev": "defa5d3c027cfcef51e0f4026e3446312cde30b8", + "rev": "fb2008ec0917631c07c4f0c065b316d7620180e4", "type": "github" }, "original": { diff --git a/nixos/patches/codex-desktop-linux-dmg-hash.patch b/nixos/patches/codex-desktop-linux-dmg-hash.patch deleted file mode 100644 index 6f945b03..00000000 --- a/nixos/patches/codex-desktop-linux-dmg-hash.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/flake.nix b/flake.nix -index 3a350b7..e54821b 100644 ---- a/flake.nix -+++ b/flake.nix -@@ -81,7 +81,7 @@ - - codexDmg = pkgs.fetchurl { - url = "https://persistent.oaistatic.com/codex-app-prod/Codex.dmg"; -- hash = "sha256-L5fZniPJ9N1mwOAr2tpebGa/Z3cs2J+IaoG1udfrSHw="; -+ hash = "sha256-smhl7TqwSYqLigb9lBfS2wOKLA8oUI+QHjnOzNTCZSk="; - }; - - codexVersion = "26.527.30818";