about summary refs log tree commit diff
path: root/pkgs/by-name/pw
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/pw')
-rw-r--r--pkgs/by-name/pw/pwndbg/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/pw/pwndbg/package.nix b/pkgs/by-name/pw/pwndbg/package.nix
index bad009b07ab2..5c612e7bfaa9 100644
--- a/pkgs/by-name/pw/pwndbg/package.nix
+++ b/pkgs/by-name/pw/pwndbg/package.nix
@@ -12,7 +12,7 @@ let
 
   binPath = lib.makeBinPath ([
     python3.pkgs.pwntools # ref: https://github.com/pwndbg/pwndbg/blob/2022.12.19/pwndbg/wrappers/checksec.py#L8
-  ] ++ lib.optionals stdenv.isLinux [
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [
     python3.pkgs.ropper # ref: https://github.com/pwndbg/pwndbg/blob/2022.12.19/pwndbg/commands/ropper.py#L30
     python3.pkgs.ropgadget # ref: https://github.com/pwndbg/pwndbg/blob/2022.12.19/pwndbg/commands/rop.py#L32
   ]);
@@ -64,6 +64,6 @@ stdenv.mkDerivation {
     platforms = platforms.all;
     maintainers = with maintainers; [ mic92 patryk4815 msanft ];
     # not supported on aarch64-darwin see: https://inbox.sourceware.org/gdb/3185c3b8-8a91-4beb-a5d5-9db6afb93713@Spark/
-    broken = stdenv.isDarwin && stdenv.isAarch64;
+    broken = stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isAarch64;
   };
 }