about summary refs log tree commit diff
path: root/pkgs/applications/misc/snagboot/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/snagboot/default.nix')
-rw-r--r--pkgs/applications/misc/snagboot/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/misc/snagboot/default.nix b/pkgs/applications/misc/snagboot/default.nix
index 11f49d8506b5..3a663443513c 100644
--- a/pkgs/applications/misc/snagboot/default.nix
+++ b/pkgs/applications/misc/snagboot/default.nix
@@ -39,7 +39,7 @@ python3.pkgs.buildPythonApplication rec {
     tftpy
   ];
 
-  postInstall = lib.optionalString stdenv.isLinux ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isLinux ''
     rules="src/snagrecover/50-snagboot.rules"
     if [ ! -f "$rules" ]; then
         echo "$rules is missing, must update the Nix file."