about summary refs log tree commit diff
path: root/pkgs/development/embedded/easypdkprog/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/embedded/easypdkprog/default.nix')
-rw-r--r--pkgs/development/embedded/easypdkprog/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/embedded/easypdkprog/default.nix b/pkgs/development/embedded/easypdkprog/default.nix
index 28f06db9f35d..4e9b8f1722bc 100644
--- a/pkgs/development/embedded/easypdkprog/default.nix
+++ b/pkgs/development/embedded/easypdkprog/default.nix
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
 
   installPhase = ''
     install -Dm755 -t $out/bin easypdkprog
-  '' + lib.optionalString stdenv.isLinux ''
+  '' + lib.optionalString stdenv.hostPlatform.isLinux ''
     install -Dm644 -t $out/etc/udev/rules.d Linux_udevrules/70-stm32vcp.rules
   '';