about summary refs log tree commit diff
path: root/pkgs/by-name/od/odin/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/od/odin/package.nix')
-rw-r--r--pkgs/by-name/od/odin/package.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/by-name/od/odin/package.nix b/pkgs/by-name/od/odin/package.nix
index 305b9d329d02..2e54d5e9c450 100644
--- a/pkgs/by-name/od/odin/package.nix
+++ b/pkgs/by-name/od/odin/package.nix
@@ -15,17 +15,17 @@ let
 in
 stdenv.mkDerivation {
   pname = "odin";
-  version = "0-unstable-2024-08-05";
+  version = "0-unstable-2024-10-12";
 
   src = fetchFromGitHub {
     owner = "odin-lang";
     repo = "Odin";
-    rev = "a1c3c38f0453dcf94ba13d572fa392cb5331a878";
-    hash = "sha256-LYUy/llW3BFnRx6sdTF/8QdvK/v+5/ShKJR+ZXocC+4=";
+    rev = "af9ae4897ad9e526d74489ddd12cfae179639ff3";
+    hash = "sha256-ky3jiVk2KfOW4JjXqiCTdnbEu7bnmTVupw2r5fwyB00=";
   };
 
   postPatch =
-    lib.optionalString stdenv.isDarwin ''
+    lib.optionalString stdenv.hostPlatform.isDarwin ''
       substituteInPlace src/linker.cpp \
           --replace-fail '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk' ${MacOSX-SDK}
     ''
@@ -46,7 +46,7 @@ stdenv.mkDerivation {
     which
   ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [
+  buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [
     libiconv
     Security
   ];